Skip to content

Commit

Permalink
Fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddy Boulton committed Mar 4, 2025
1 parent b855d3e commit 5472f9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions demo/llm_voice_chat/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def response(
audio: tuple[int, NDArray[np.int16 | np.float32]],
chatbot: list[dict] | None = None,
):
# sf.write("audio.wav", audio_to_float32(audio), audio[0], format="wav")
chatbot = chatbot or []
messages = [{"role": d["role"], "content": d["content"]} for d in chatbot]
start = time.time()
Expand Down Expand Up @@ -73,7 +72,7 @@ def response(
rtc_configuration=get_twilio_turn_credentials() if get_space() else None,
concurrency_limit=5 if get_space() else None,
time_limit=90 if get_space() else None,
ui_args={"title": "LLM Voice Chat (Powered by Groq, ElevenLabs, and WebRTC ⚡️"},
ui_args={"title": "LLM Voice Chat (Powered by Groq, ElevenLabs, and WebRTC ⚡️)"},
)

# Mount the STREAM UI to the FastAPI app
Expand Down

0 comments on commit 5472f9f

Please sign in to comment.