KingNish commited on
Commit
7d9a23a
1 Parent(s): 4d6043e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(show_copy_button=True, likeable=True, 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,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)