Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def chat_hf(audio, custom_token, language):
|
|
62 |
#chat_id['parent_id'] = response.json()["response_id"]
|
63 |
#chat_id['conversation_id'] = response.json()["conversation_id"]
|
64 |
#gpt_response = response.json()["content"]
|
65 |
-
response = requests.get('https://api.pawan.krd/chat/gpt?text=' + whisper_text, verify=False, timeout=5)
|
66 |
print(response.text)
|
67 |
|
68 |
#whisper_text = translate(audio)
|
|
|
62 |
#chat_id['parent_id'] = response.json()["response_id"]
|
63 |
#chat_id['conversation_id'] = response.json()["conversation_id"]
|
64 |
#gpt_response = response.json()["content"]
|
65 |
+
response = requests.get('https://api.pawan.krd/chat/gpt?text=' + whisper_text + '&cache=false', verify=False, timeout=5)
|
66 |
print(response.text)
|
67 |
|
68 |
#whisper_text = translate(audio)
|