Update quickstart.md
This commit is contained in:
parent
ca49991fe8
commit
791a6f6812
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ from agents.voice import AudioInput
|
||||||
|
|
||||||
# For simplicity, we'll just create 3 seconds of silence
|
# For simplicity, we'll just create 3 seconds of silence
|
||||||
# In reality, you'd get microphone data
|
# In reality, you'd get microphone data
|
||||||
audio = np.zeros(24000 * 3, dtype=np.int16)
|
buffer = np.zeros(24000 * 3, dtype=np.int16)
|
||||||
audio_input = AudioInput(buffer=buffer)
|
audio_input = AudioInput(buffer=buffer)
|
||||||
|
|
||||||
result = await pipeline.run(audio_input)
|
result = await pipeline.run(audio_input)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue