mgetz commited on
Commit
887f9dd
·
verified ·
1 Parent(s): a0ff287

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -19,7 +19,8 @@ def respond(message, history):
19
  {"role": "user",
20
  "content": message})
21
 
22
- response = client.chat_completion(messages, max_tokens=100)
 
23
 
24
  chatbot = gr.ChatInterface(respond, type="messages")
25
  chatbot.launch
 
19
  {"role": "user",
20
  "content": message})
21
 
22
+ print(response)
23
+ return response = client.chat_completion(messages, max_tokens=100)
24
 
25
  chatbot = gr.ChatInterface(respond, type="messages")
26
  chatbot.launch