FahadAlam commited on
Commit
d5e290c
1 Parent(s): e9b983f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,8 +54,8 @@ def chatbot(message, history):
54
  gr.Interface(
55
  fn=chatbot,
56
  css=".footer {display:none !important}",
57
- inputs=["text", "state"],
58
- outputs=["chatbot", "state"],
59
  title=title,
60
  allow_flagging="never",
61
  ).launch( debug= True)
 
54
  gr.Interface(
55
  fn=chatbot,
56
  css=".footer {display:none !important}",
57
+ inputs=[gr.Textbox(lines=1, label="Message"), "state"],
58
+ outputs=[gr.Chatbot(label="Chat"), "state"],
59
  title=title,
60
  allow_flagging="never",
61
  ).launch( debug= True)