Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def process(audio, input_text, chat_history: list[ChatMessage]):
|
|
25 |
else:
|
26 |
response = 'Provide a query text or an audio to query.'
|
27 |
chat_history.append({"role": "assistant", "content": response})
|
28 |
-
audio_data = transcriptor.speech_synthesis(response)
|
29 |
return audio_data, chat_history
|
30 |
|
31 |
response = generate_response(chat_history)
|
|
|
25 |
else:
|
26 |
response = 'Provide a query text or an audio to query.'
|
27 |
chat_history.append({"role": "assistant", "content": response})
|
28 |
+
# audio_data = transcriptor.speech_synthesis(response)
|
29 |
return audio_data, chat_history
|
30 |
|
31 |
response = generate_response(chat_history)
|