acecalisto3 commited on
Commit
f64f25f
·
verified ·
1 Parent(s): f50660b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -16
app.py CHANGED
@@ -358,19 +358,15 @@ examples=[["What are the biggest news stories today?", None, None, None, None, N
358
  ["What are some unique features of Rust that make it stand out compared to other systems programming languages like C++?", None, None, None, None, None,],
359
  ]
360
 
361
- '''
362
  gr.ChatInterface(
363
  fn=run,
364
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
365
- title="Mixtral 46.7B\nMicro-Agent\nInternet Search <br> development test",
366
  examples=examples,
367
  concurrency_limit=20,
368
- with gr.Blocks() as ifacea:
369
- gr.HTML("""TEST""")
370
- ifacea.launch()
371
- ).launch()
372
  with gr.Blocks() as iface:
373
- #chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
374
  chatbot=gr.Chatbot()
375
  msg = gr.Textbox()
376
  with gr.Row():
@@ -378,12 +374,4 @@ with gr.Blocks() as iface:
378
  clear = gr.ClearButton([msg, chatbot])
379
  submit_b.click(run, [msg,chatbot],[msg,chatbot])
380
  msg.submit(run, [msg, chatbot], [msg, chatbot])
381
- iface.launch()
382
- '''
383
- gr.ChatInterface(
384
- fn=run,
385
- chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
386
- title="Mixtral 46.7B\nMicro-Agent\nInternet Search <br> development test",
387
- examples=examples,
388
- concurrency_limit=20,
389
- ).launch(show_api=False)
 
358
  ["What are some unique features of Rust that make it stand out compared to other systems programming languages like C++?", None, None, None, None, None,],
359
  ]
360
 
361
+
362
  gr.ChatInterface(
363
  fn=run,
364
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
365
+ title="""Mixtral 46.7B\nMicro-Agent\nInternet Search <br> development test""",
366
  examples=examples,
367
  concurrency_limit=20,
 
 
 
 
368
  with gr.Blocks() as iface:
369
+ chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
370
  chatbot=gr.Chatbot()
371
  msg = gr.Textbox()
372
  with gr.Row():
 
374
  clear = gr.ClearButton([msg, chatbot])
375
  submit_b.click(run, [msg,chatbot],[msg,chatbot])
376
  msg.submit(run, [msg, chatbot], [msg, chatbot])
377
+ iface.launch()