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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -385,8 +385,8 @@ examples =[
385
  "Find the best deals on flippers for scuba diving",
386
  "Teach me to fly a helicopter"
387
  ]
388
-
389
- app=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>",
 
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>",