Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -180,19 +180,19 @@ with gr.Blocks() as demo:
|
|
| 180 |
|
| 181 |
demo.launch()
|
| 182 |
|
| 183 |
-
with gr.Blocks() as
|
| 184 |
tutor_button = gr.Button(value="Tutor Mom", variant="primary")
|
| 185 |
tutor_button.click(fn=respond_tutor, inputs=[], outputs=[])
|
| 186 |
|
| 187 |
demo.launch()
|
| 188 |
|
| 189 |
-
with gr.Blocks() as
|
| 190 |
strict_button = gr.Button(value="Strict Mom", variant="primary")
|
| 191 |
strict_button.click(fn=respond_strict, inputs=[], outputs=[])
|
| 192 |
|
| 193 |
demo.launch()
|
| 194 |
-
|
| 195 |
-
|
| 196 |
|
| 197 |
chatbot = gr.ChatInterface(respond, type = 'messages')
|
| 198 |
chatbot.launch()
|
|
|
|
| 180 |
|
| 181 |
demo.launch()
|
| 182 |
|
| 183 |
+
with gr.Blocks() as demo1:
|
| 184 |
tutor_button = gr.Button(value="Tutor Mom", variant="primary")
|
| 185 |
tutor_button.click(fn=respond_tutor, inputs=[], outputs=[])
|
| 186 |
|
| 187 |
demo.launch()
|
| 188 |
|
| 189 |
+
with gr.Blocks() as demo2:
|
| 190 |
strict_button = gr.Button(value="Strict Mom", variant="primary")
|
| 191 |
strict_button.click(fn=respond_strict, inputs=[], outputs=[])
|
| 192 |
|
| 193 |
demo.launch()
|
| 194 |
+
demo1.launch()
|
| 195 |
+
demo2.launch()
|
| 196 |
|
| 197 |
chatbot = gr.ChatInterface(respond, type = 'messages')
|
| 198 |
chatbot.launch()
|