CognitiveScience commited on
Commit
409bc42
1 Parent(s): d90de9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -115,8 +115,9 @@ with gr.Blocks() as demo:
115
  with gr.Column():
116
  cschatbot = gr.Chatbot()
117
  csinp = gr.Textbox()
 
118
  csclear = gr.ClearButton([csinp, cschatbot])
119
-
120
  csinp.submit(cs, csinp,csout) #[msg3, chatbot3], [msg3, chatbot3])
121
 
122
  with gr.Row():
 
115
  with gr.Column():
116
  cschatbot = gr.Chatbot()
117
  csinp = gr.Textbox()
118
+ csout=cs(csinp)
119
  csclear = gr.ClearButton([csinp, cschatbot])
120
+
121
  csinp.submit(cs, csinp,csout) #[msg3, chatbot3], [msg3, chatbot3])
122
 
123
  with gr.Row():