uasername commited on
Commit
9a39f0d
·
verified ·
1 Parent(s): feeb524

Update Gradio_UI.py

Browse files
Files changed (1) hide show
  1. Gradio_UI.py +1 -1
Gradio_UI.py CHANGED
@@ -201,7 +201,7 @@ def stream_to_gradio(
201
  print("DEBUG audio_np type:", type(audio_np), "shape:", audio_np.shape)
202
  yield gr.ChatMessage(
203
  role="assistant",
204
- content={"data": audio_np, "mime_type": "audio/mpeg"},
205
  )
206
  print("DEBUG AgentAudio attributes:", vars(final_answer))
207
 
 
201
  print("DEBUG audio_np type:", type(audio_np), "shape:", audio_np.shape)
202
  yield gr.ChatMessage(
203
  role="assistant",
204
+ content={"path": final_answer.to_string(), "mime_type": "audio/mpeg"},
205
  )
206
  print("DEBUG AgentAudio attributes:", vars(final_answer))
207