elinstallation commited on
Commit
383a9c6
·
verified ·
1 Parent(s): 5645034

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -233,12 +233,18 @@ with gr.Blocks(
233
  #visible=True,
234
  #elem_classes=["download-btn"])
235
 
 
 
 
 
 
 
236
  gr.ChatInterface(
237
  fn=lambda msg, hist: respond(msg, hist, chatbot_topic.value, chatbot_mode.value),
238
  title="Finance Management Hub",
239
  description="Ask about your personal finance",
240
  type="messages",
 
241
  )
242
-
243
  #launching chatbot
244
  demo.launch()
 
233
  #visible=True,
234
  #elem_classes=["download-btn"])
235
 
236
+ # gr.ChatInterface(
237
+ # fn=lambda msg, hist: respond(msg, hist, chatbot_topic.value, chatbot_mode.value),
238
+ # title="Finance Management Hub",
239
+ # description="Ask about your personal finance",
240
+ # type="messages",
241
+ #)
242
  gr.ChatInterface(
243
  fn=lambda msg, hist: respond(msg, hist, chatbot_topic.value, chatbot_mode.value),
244
  title="Finance Management Hub",
245
  description="Ask about your personal finance",
246
  type="messages",
247
+ additional_inputs=[chatbot_topic, chatbot_mode]
248
  )
 
249
  #launching chatbot
250
  demo.launch()