Omnibus commited on
Commit
094ece2
·
verified ·
1 Parent(s): 6932386

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -374,19 +374,14 @@ examples =[
374
  "Find the best deals on flippers for scuba diving",
375
  "Teach me to fly a helicopter"
376
  ]
377
- with gr.Blocks() as app:
378
- btn=gr.Button()
379
-
380
- iface = gr.ChatInterface(
381
  fn=run,
382
  chatbot=gr.Chatbot(show_label=False, show_share_button=True, show_copy_button=True, likeable=True, layout="panel", height="800px"),
383
  title="Mixtral 46.7B Powered <br> Search",
384
 
385
  examples=examples,
386
  concurrency_limit=20,
387
- )
388
-
389
- iface.launch()
390
 
391
 
392
 
 
374
  "Find the best deals on flippers for scuba diving",
375
  "Teach me to fly a helicopter"
376
  ]
377
+ gr.ChatInterface(
 
 
 
378
  fn=run,
379
  chatbot=gr.Chatbot(show_label=False, show_share_button=True, show_copy_button=True, likeable=True, layout="panel", height="800px"),
380
  title="Mixtral 46.7B Powered <br> Search",
381
 
382
  examples=examples,
383
  concurrency_limit=20,
384
+ ).launch()
 
 
385
 
386
 
387