Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"
|
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="/")
|