tree3po commited on
Commit
6e48338
·
verified ·
1 Parent(s): d9f0f3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -385,19 +385,19 @@ examples =[
385
  "Find the best deals on flippers for scuba diving",
386
  "Teach me to fly a helicopter"
387
  ]
388
- with gr.Blocks() as app
389
- gr.ChatInterface(
390
- fn=run,
391
- chatbot=gr.Chatbot(show_label=False, show_share_button=True, show_copy_button=True, layout="panel", height="500px"),
392
- title="<center>Mixtral 46.7B Powered <br>Financial Demo<br>This demo is not a Financial Advisor</center>",
393
- examples=examples,
394
- concurrency_limit=20,
395
- )
396
-
397
- text_input=gr.Textbox()
398
- html_game=gr.Textbox()
399
- url_params = gr.JSON({}, visible=True, label="")
400
- app.load(predict,[text_input,url_params],[text_input,html_game], js=get_window_url_params)
401
 
402
 
403
  app.launch()
 
385
  "Find the best deals on flippers for scuba diving",
386
  "Teach me to fly a helicopter"
387
  ]
388
+ with gr.Blocks() as app:
389
+ gr.ChatInterface(
390
+ fn=run,
391
+ chatbot=gr.Chatbot(show_label=False, show_share_button=True, show_copy_button=True, layout="panel", height="500px"),
392
+ title="<center>Mixtral 46.7B Powered <br>Financial Demo<br>This demo is not a Financial Advisor</center>",
393
+ examples=examples,
394
+ concurrency_limit=20,
395
+ )
396
+
397
+ text_input=gr.Textbox()
398
+ html_game=gr.Textbox()
399
+ url_params = gr.JSON({}, visible=True, label="")
400
+ app.load(predict,[text_input,url_params],[text_input,html_game], js=get_window_url_params)
401
 
402
 
403
  app.launch()