Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,9 +114,9 @@ with gr.Blocks() as chatbot:
|
|
| 114 |
tutor_button = gr.Button("Tutor Mom")
|
| 115 |
strict_button = gr.Button("Strict Mom")
|
| 116 |
|
| 117 |
-
cool_button.click(fn=[]
|
| 118 |
-
tutor_button.click(fn=[]
|
| 119 |
-
strict_button.click(fn=[]
|
| 120 |
|
| 121 |
gr.ChatInterface(
|
| 122 |
#fn=respond,
|
|
|
|
| 114 |
tutor_button = gr.Button("Tutor Mom")
|
| 115 |
strict_button = gr.Button("Strict Mom")
|
| 116 |
|
| 117 |
+
cool_button.click(fn=[], inputs=[], outputs=respond(message, history, "Cool Mom"))
|
| 118 |
+
tutor_button.click(fn=[], inputs=[], outputs=respond(message, history, "Tutor Mom"))
|
| 119 |
+
strict_button.click(fn=[], inputs=[], outputs=respond(message, history, "Strict Mom"))
|
| 120 |
|
| 121 |
gr.ChatInterface(
|
| 122 |
#fn=respond,
|