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