hwberry2 commited on
Commit
5646c70
·
1 Parent(s): a329ac7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def transcribe(audio):
18
  return transcript["text"]
19
 
20
  def botResponse(user_input):
21
- #global messages
22
 
23
  messages.append({"role": "user", "content": user_input})
24
  response = openai.ChatCompletion.create(
 
18
  return transcript["text"]
19
 
20
  def botResponse(user_input):
21
+ global messages
22
 
23
  messages.append({"role": "user", "content": user_input})
24
  response = openai.ChatCompletion.create(