ainur1 commited on
Commit
4d6afbd
1 Parent(s): afa6fc0
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def chatbot_interface():
21
  )
22
  submit_chat_button = gr.Interface(
23
  fn=lambda bot, question: bot(question),
24
- inputs=[gr.inputs.Hidden(), chatbot],
25
  outputs=gr.outputs.Textbox(label="Bot Response"),
26
  title="Chat with your Bot",
27
  description="Type a question and click submit to get a response from your bot."
@@ -33,3 +33,4 @@ submit_init_button, submit_chat_button = chatbot_interface()
33
 
34
  submit_init_button.launch()
35
  submit_chat_button.launch()
 
 
21
  )
22
  submit_chat_button = gr.Interface(
23
  fn=lambda bot, question: bot(question),
24
+ inputs=[gr.inputs.Textbox(), chatbot],
25
  outputs=gr.outputs.Textbox(label="Bot Response"),
26
  title="Chat with your Bot",
27
  description="Type a question and click submit to get a response from your bot."
 
33
 
34
  submit_init_button.launch()
35
  submit_chat_button.launch()
36
+