diyapg commited on
Commit
eda0f46
·
verified ·
1 Parent(s): 94ecbb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def respond(message, history):
15
  messages,
16
  max_tokens=100
17
  )
18
- return response ['choices'][0]['message']['context'].strip()
19
 
20
 
21
  chatbot = gr.ChatInterface(respond, type="messages", title=("friendly, chatbot")) #chatbot UI - conversation history and user input
 
15
  messages,
16
  max_tokens=100
17
  )
18
+ return response ['choices'][0]['message']['content'].strip()
19
 
20
 
21
  chatbot = gr.ChatInterface(respond, type="messages", title=("friendly, chatbot")) #chatbot UI - conversation history and user input