Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -181,10 +181,10 @@ with gr.Blocks() as chatbot:
|
|
| 181 |
with gr.Row():
|
| 182 |
mom_type = gr.CheckboxGroup(['Cool Mom', 'Tutor Mom', 'Strict Mom'],label='Choose Your Mom')
|
| 183 |
|
| 184 |
-
gr.ChatInterface(
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
)
|
| 189 |
|
| 190 |
chatbot.launch()
|
|
|
|
| 181 |
with gr.Row():
|
| 182 |
mom_type = gr.CheckboxGroup(['Cool Mom', 'Tutor Mom', 'Strict Mom'],label='Choose Your Mom')
|
| 183 |
|
| 184 |
+
gr.ChatInterface(
|
| 185 |
+
fn=respond,
|
| 186 |
+
additional_inputs=[mom_type],
|
| 187 |
+
title="StudyMama"
|
| 188 |
)
|
| 189 |
|
| 190 |
chatbot.launch()
|