edithram23 commited on
Commit
79bb89f
·
verified ·
1 Parent(s): 857404b

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 audio_data, chat_history
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})