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

Update app.py

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