Skip to content

cannot import name 'HumeVoiceClient #214

@walter-grace

Description

@walter-grace

ImportError: cannot import name 'HumeVoiceClient' from partially initialized module 'hume' (most likely due to a circular import)

from hume import HumeVoiceClient, MicrophoneInterface

avoid hard coding your API key, retrieve from environment variables

HUME_API_KEY = <YOUR_API_KEY>

Connect and authenticate with Hume

client = HumeVoiceClient(HUME_API_KEY)

establish a connection with EVI with your configuration by passing

the config_id as an argument to the connect method

async with client.connect(config_id="") as socket:
await MicrophoneInterface.start(socket)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions