Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -167,16 +167,17 @@ def respond(message, history, mom_type) :
|
|
| 167 |
font_mono=[gr.themes.GoogleFont("IBM Plex Mono"), "monospace"]
|
| 168 |
)'''
|
| 169 |
|
| 170 |
-
with gr.Blocks(
|
| 171 |
with gr.Row():
|
| 172 |
mom_type = gr.CheckboxGroup(["Cool Mom", "Tutor Mom", "Strict Mom"],label = "Choose Your Mom")
|
| 173 |
|
| 174 |
gr.ChatInterface(
|
| 175 |
fn=respond,
|
| 176 |
additional_inputs=[mom_type],
|
| 177 |
-
title="StudyMama", theme
|
| 178 |
)
|
| 179 |
|
|
|
|
| 180 |
# with gr.Blocks() as chatbot:
|
| 181 |
# gr.Image(value="ezgif.com-webp-to-gif-converter (1).gif")
|
| 182 |
# gr.ChatInterface(respond, type="messages")
|
|
|
|
| 167 |
font_mono=[gr.themes.GoogleFont("IBM Plex Mono"), "monospace"]
|
| 168 |
)'''
|
| 169 |
|
| 170 |
+
with gr.Blocks() as chatbot:
|
| 171 |
with gr.Row():
|
| 172 |
mom_type = gr.CheckboxGroup(["Cool Mom", "Tutor Mom", "Strict Mom"],label = "Choose Your Mom")
|
| 173 |
|
| 174 |
gr.ChatInterface(
|
| 175 |
fn=respond,
|
| 176 |
additional_inputs=[mom_type],
|
| 177 |
+
title="StudyMama", theme=gr.themes.Default(primary_hue=gr.themes.colors.red, secondary_hue=gr.themes.colors.pink)
|
| 178 |
)
|
| 179 |
|
| 180 |
+
|
| 181 |
# with gr.Blocks() as chatbot:
|
| 182 |
# gr.Image(value="ezgif.com-webp-to-gif-converter (1).gif")
|
| 183 |
# gr.ChatInterface(respond, type="messages")
|