Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,8 +36,8 @@ def echo(message, history):
|
|
| 36 |
with gr.Blocks() as demo:
|
| 37 |
gr.Markdown("## 💬 Mean Chatbot")
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
|
| 42 |
state = gr.State([])
|
| 43 |
|
|
|
|
| 36 |
with gr.Blocks() as demo:
|
| 37 |
gr.Markdown("## 💬 Mean Chatbot")
|
| 38 |
|
| 39 |
+
user_input = gr.Textbox(label="Your Question", placeholder="Type something...", lines=2)
|
| 40 |
+
output = gr.Textbox(label="Bot's Answer", interactive=False)
|
| 41 |
|
| 42 |
state = gr.State([])
|
| 43 |
|