riyamalshe commited on
Commit
6a36a65
·
verified ·
1 Parent(s): 410fe98

added respond function into chatbot

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,6 +18,6 @@ def respond(message, history):
18
  )
19
  return response['choices'][0]['message']['content'].strip()
20
 
21
- chatbot = gr.ChatInterface(, type = 'messages')
22
 
23
  chatbot.launch()
 
18
  )
19
  return response['choices'][0]['message']['content'].strip()
20
 
21
+ chatbot = gr.ChatInterface(respond, type = 'messages')
22
 
23
  chatbot.launch()