Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ def respond(message, history):
|
|
201 |
# Create the Gradio interface
|
202 |
demo = gr.ChatInterface(
|
203 |
fn=respond,
|
204 |
-
chatbot=gr.Chatbot(
|
205 |
description ="# OpenGPT 4o mini\n ### You can engage in chat, generate images, perform web searches, and Q&A with images.",
|
206 |
textbox=gr.MultimodalTextbox(),
|
207 |
multimodal=True,
|
@@ -217,4 +217,4 @@ demo = gr.ChatInterface(
|
|
217 |
],
|
218 |
cache_examples=False,
|
219 |
)
|
220 |
-
demo.launch()
|
|
|
201 |
# Create the Gradio interface
|
202 |
demo = gr.ChatInterface(
|
203 |
fn=respond,
|
204 |
+
chatbot=gr.Chatbot(layout="panel"),
|
205 |
description ="# OpenGPT 4o mini\n ### You can engage in chat, generate images, perform web searches, and Q&A with images.",
|
206 |
textbox=gr.MultimodalTextbox(),
|
207 |
multimodal=True,
|
|
|
217 |
],
|
218 |
cache_examples=False,
|
219 |
)
|
220 |
+
demo.launch(ssr_mode=True)
|