Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def transcribe_audio_and_chat(audio_tuple, history): # Removed api_key from func
|
|
65 |
|
66 |
if audio_tuple is None:
|
67 |
# If no audio, raise a Gradio Error directly instead of adding to chat history
|
68 |
-
|
69 |
|
70 |
samplerate, audio_np_array = audio_tuple
|
71 |
|
|
|
65 |
|
66 |
if audio_tuple is None:
|
67 |
# If no audio, raise a Gradio Error directly instead of adding to chat history
|
68 |
+
return history, history, None
|
69 |
|
70 |
samplerate, audio_np_array = audio_tuple
|
71 |
|