Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'HumeVoiceClient #214

Open
walter-grace opened this issue Nov 24, 2024 · 1 comment
Open

cannot import name 'HumeVoiceClient #214

walter-grace opened this issue Nov 24, 2024 · 1 comment

Comments

@walter-grace
Copy link

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)

Copy link

linear bot commented Nov 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant