Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -170,7 +170,7 @@ def chatbot_conversation(audio_file_path, history):
|
|
170 |
print(token)
|
171 |
response += token
|
172 |
# Yield partial text updates, no audio yet, history unchanged yet
|
173 |
-
|
174 |
except Exception as e:
|
175 |
print(f"[ERROR] Error during streaming response: {e}")
|
176 |
yield ("I could not understand you. Please try again.", None, history)
|
|
|
170 |
print(token)
|
171 |
response += token
|
172 |
# Yield partial text updates, no audio yet, history unchanged yet
|
173 |
+
yield(response, None, history)
|
174 |
except Exception as e:
|
175 |
print(f"[ERROR] Error during streaming response: {e}")
|
176 |
yield ("I could not understand you. Please try again.", None, history)
|