BoghdadyJR commited on
Commit
b9d0416
·
verified ·
1 Parent(s): f576150

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -150,7 +150,12 @@ with gr.Blocks() as demo:
150
  gr.Markdown("# Weather Assistant")
151
  chatbot = gr.Chatbot()
152
  with gr.Row():
153
- txt = gr.Textbox(show_label=False, placeholder="Ask about the weather...").style(container=False)
154
- txt.submit(gradio_interface, txt, chatbot)
 
 
 
 
 
155
 
156
  demo.launch()
 
150
  gr.Markdown("# Weather Assistant")
151
  chatbot = gr.Chatbot()
152
  with gr.Row():
153
+ txt = gr.Textbox(
154
+ show_label=False,
155
+ placeholder="Ask about the weather...",
156
+ lines=1,
157
+ container=False
158
+ )
159
+ txt.submit(gradio_interface, inputs=txt, outputs=chatbot)
160
 
161
  demo.launch()