RithikaChalam commited on
Commit
6dbf487
·
verified ·
1 Parent(s): 9fe1f40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -156,7 +156,7 @@ def respond(message, history, mom_type) :
156
  # NN commented out
157
  # chatbot = gr.ChatInterface(respond, type="messages")
158
 
159
- custom_theme = gr.themes.Soft().set(
160
  primary_hue="purple",
161
  secondary_hue="fuchsia",
162
  neutral_hue="gray",
@@ -165,9 +165,9 @@ custom_theme = gr.themes.Soft().set(
165
  text_size="lg",
166
  font=[gr.themes.GoogleFont("IBM Plex Sans"), "sans-serif"],
167
  font_mono=[gr.themes.GoogleFont("IBM Plex Mono"), "monospace"]
168
- )
169
 
170
- with gr.Blocks(theme = custom_theme) as chatbot:
171
  with gr.Row():
172
  mom_type = gr.CheckboxGroup(["Cool Mom", "Tutor Mom", "Strict Mom"],label = "Choose Your Mom")
173
 
 
156
  # NN commented out
157
  # chatbot = gr.ChatInterface(respond, type="messages")
158
 
159
+ '''custom_theme = gr.themes.Soft().set(
160
  primary_hue="purple",
161
  secondary_hue="fuchsia",
162
  neutral_hue="gray",
 
165
  text_size="lg",
166
  font=[gr.themes.GoogleFont("IBM Plex Sans"), "sans-serif"],
167
  font_mono=[gr.themes.GoogleFont("IBM Plex Mono"), "monospace"]
168
+ )'''
169
 
170
+ with gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.red, secondary_hue=gr.themes.colors.pink)) as chatbot:
171
  with gr.Row():
172
  mom_type = gr.CheckboxGroup(["Cool Mom", "Tutor Mom", "Strict Mom"],label = "Choose Your Mom")
173