OjciecTadeusz commited on
Commit
102225f
·
verified ·
1 Parent(s): 6979f2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def chat_interface(messages):
115
  # Create Gradio interface
116
  def gradio_app():
117
  #return gr.chat_interface(gr.Chatbot(placeholder="placeholder"), type="messages", value=[])
118
- return gr.ChatInterface(chat_interface, type="messages", value=[])
119
 
120
  # Mount both FastAPI and Gradio
121
  app = gr.mount_gradio_app(app, gradio_app(), path="/")
 
115
  # Create Gradio interface
116
  def gradio_app():
117
  #return gr.chat_interface(gr.Chatbot(placeholder="placeholder"), type="messages", value=[])
118
+ return gr.ChatInterface(chat_interface, type="messages")
119
 
120
  # Mount both FastAPI and Gradio
121
  app = gr.mount_gradio_app(app, gradio_app(), path="/")