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