HumeAI / hume-python-sdk

Python client for Hume AI
https://dev.hume.ai
MIT License
91 stars 24 forks source link

cannot import name 'HumeVoiceClient #214

Open walter-grace opened 1 day ago

walter-grace commented 1 day ago

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 =

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)

linear[bot] commented 1 day ago

HUME-8629 cannot import name 'HumeVoiceClient