Tram-Anh commited on
Commit
4e4de63
·
verified ·
1 Parent(s): 0cf340b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def respond(message, history):
22
  messages, max_tokens = 100
23
  )
24
 
25
- return response['choices'][0]['message']['content'].strip
26
 
27
 
28
  chatbot = gr.ChatInterface(respond, type="messages")
 
22
  messages, max_tokens = 100
23
  )
24
 
25
+ return response['choices'][0]['message']['content'].strip()
26
 
27
 
28
  chatbot = gr.ChatInterface(respond, type="messages")