Spaces:
Sleeping
Sleeping
update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def process(audio, input_text, chat_history: list[ChatMessage]):
|
|
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
|
30 |
|
31 |
response = generate_response(chat_history)
|
32 |
chat_history.append({"role": "assistant", "content": response})
|
|
|
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 chat_history
|
30 |
|
31 |
response = generate_response(chat_history)
|
32 |
chat_history.append({"role": "assistant", "content": response})
|