Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,14 +81,14 @@ with gr.Blocks() as chatbot:
|
|
| 81 |
gr.Markdown(topics)
|
| 82 |
with gr.Tabs():
|
| 83 |
with gr.TabItem("Writing Tutor")
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
]
|
| 93 |
)
|
| 94 |
# chatbot = gr.ChatInterface(respond, type="messages")
|
|
|
|
| 81 |
gr.Markdown(topics)
|
| 82 |
with gr.Tabs():
|
| 83 |
with gr.TabItem("Writing Tutor")
|
| 84 |
+
with gr.Column():
|
| 85 |
+
gr.ChatInterface(
|
| 86 |
+
fn=respond,
|
| 87 |
+
type="messages",
|
| 88 |
+
examples = [
|
| 89 |
+
"What is a thesis statement and how do I write one?",
|
| 90 |
+
"What should I include in my introduction paragraph?",
|
| 91 |
+
"I finished my body paragraphs. How can I end my essay?"
|
| 92 |
]
|
| 93 |
)
|
| 94 |
# chatbot = gr.ChatInterface(respond, type="messages")
|