jasminemomoko commited on
Commit
5e8c11d
·
verified ·
1 Parent(s): be2c65d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -176,15 +176,15 @@ chatbot = gr.ChatInterface(respond_cool, type="messages")
176
  # )
177
  # return response['choices'][0]['message']['content'].strip()
178
 
179
- with gr.Blocks() as chatbot:
180
 
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=route_message,
186
- additional_inputs=[mom_type],
187
- title="StudyMama"
188
  )
189
 
190
  chatbot.launch()
 
176
  # )
177
  # return response['choices'][0]['message']['content'].strip()
178
 
179
+ with gr.Blocks() as chatbot:
180
 
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=route_message,
186
+ additional_inputs=[mom_type],
187
+ title="StudyMama"
188
  )
189
 
190
  chatbot.launch()