psuserlas commited on
Commit
dc1b177
·
verified ·
1 Parent(s): 73a6afe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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(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
 
174
  gr.ChatInterface(
175
  fn=respond,
176
  additional_inputs=[mom_type],
177
- title="StudyMama", theme = gr.gr.themes.Soft()
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")