Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
154 |
-
|
|
|
|
|
|
|
|
|
|
|
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()
|