OjciecTadeusz commited on
Commit
6979f2e
·
verified ·
1 Parent(s): 9b4fcdc

Update app.py

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