Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,6 +93,8 @@ with gr.Blocks() as chatbot:
|
|
| 93 |
"What should I include in my introduction paragraph?",
|
| 94 |
"I finished my body paragraphs. How can I end my essay?"
|
| 95 |
]
|
|
|
|
|
|
|
| 96 |
)
|
| 97 |
# chatbot = gr.ChatInterface(respond, type="messages")
|
| 98 |
|
|
|
|
| 93 |
"What should I include in my introduction paragraph?",
|
| 94 |
"I finished my body paragraphs. How can I end my essay?"
|
| 95 |
]
|
| 96 |
+
submit_button = gr.Button("Submit")
|
| 97 |
+
submit_button.click(fn=respond, inputs=message, outputs=gr.Textbox, interactive=False, lines=10)
|
| 98 |
)
|
| 99 |
# chatbot = gr.ChatInterface(respond, type="messages")
|
| 100 |
|