hwberry2 commited on
Commit
d53d997
·
1 Parent(s): efbb364

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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