CognitiveScience commited on
Commit
d90de9a
1 Parent(s): d829ffc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -113,11 +113,11 @@ def respond3(message, chat_history):
113
  with gr.Blocks() as demo:
114
  with gr.Row():
115
  with gr.Column():
116
- chatbot3 = gr.Chatbot()
117
- msg3 = gr.Textbox()
118
- clear3 = gr.ClearButton([msg3, chatbot3])
119
 
120
- msg3.submit(respond3, [msg3, chatbot3], [msg3, chatbot3])
121
 
122
  with gr.Row():
123
  with gr.Column():
 
113
  with gr.Blocks() as demo:
114
  with gr.Row():
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():
123
  with gr.Column():