Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def transcribe(audio):
|
|
26 |
#for message in msg_contents:
|
27 |
# if (message["role"] != "system"):
|
28 |
# chat_transcript += message["role"] + ": " + message["content"] + "\n\n"
|
29 |
-
system_response = botResponse(transcript)
|
30 |
|
31 |
return system_response
|
32 |
|
|
|
26 |
#for message in msg_contents:
|
27 |
# if (message["role"] != "system"):
|
28 |
# chat_transcript += message["role"] + ": " + message["content"] + "\n\n"
|
29 |
+
system_response = botResponse(transcript("text"))
|
30 |
|
31 |
return system_response
|
32 |
|