Omnibus commited on
Commit
7282311
·
verified ·
1 Parent(s): 58fbd07

Update app.py

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