Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -376,15 +376,20 @@ examples =[
|
|
| 376 |
]
|
| 377 |
with gr.Blocks() as app:
|
| 378 |
btn=gr.Button()
|
| 379 |
-
|
| 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 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 388 |
|
| 389 |
'''
|
| 390 |
with gr.Blocks() as app:
|
|
|
|
| 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 = iface.create_interface(app)
|
| 390 |
+
iface.launch()
|
| 391 |
+
|
| 392 |
+
|
| 393 |
|
| 394 |
'''
|
| 395 |
with gr.Blocks() as app:
|