Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ def chat_hf(audio, custom_token, language):
|
|
27 |
gpt_response = "MISSING AUDIO: Record your voice by clicking the microphone button, do not forget to stop recording before sending your message ;)"
|
28 |
else:
|
29 |
gpt_response, _ = chatgpt(whisper_text, [])
|
|
|
30 |
gpt_response = gpt_response[0]
|
31 |
|
32 |
except:
|
|
|
27 |
gpt_response = "MISSING AUDIO: Record your voice by clicking the microphone button, do not forget to stop recording before sending your message ;)"
|
28 |
else:
|
29 |
gpt_response, _ = chatgpt(whisper_text, [])
|
30 |
+
print(gpt_response)
|
31 |
gpt_response = gpt_response[0]
|
32 |
|
33 |
except:
|