Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -54,13 +54,13 @@ with gr.Blocks(css=custom_css) as chat:
|
|
54 |
gr.Markdown("### 💬 OpenGPT 4o Chat", elem_classes="tab-header")
|
55 |
gr.ChatInterface(
|
56 |
fn=model_inference,
|
|
|
57 |
examples=EXAMPLES,
|
58 |
multimodal=True,
|
59 |
cache_examples=False,
|
60 |
autofocus=False,
|
61 |
concurrency_limit=10
|
62 |
)
|
63 |
-
# chatbot=chatbot, removed this line
|
64 |
|
65 |
# Voice chat block
|
66 |
with gr.Blocks() as voice:
|
|
|
54 |
gr.Markdown("### 💬 OpenGPT 4o Chat", elem_classes="tab-header")
|
55 |
gr.ChatInterface(
|
56 |
fn=model_inference,
|
57 |
+
chatbot=chatbot,
|
58 |
examples=EXAMPLES,
|
59 |
multimodal=True,
|
60 |
cache_examples=False,
|
61 |
autofocus=False,
|
62 |
concurrency_limit=10
|
63 |
)
|
|
|
64 |
|
65 |
# Voice chat block
|
66 |
with gr.Blocks() as voice:
|