Spaces:
Runtime error
Runtime error
Srinivasulu kethanaboina
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ chat = gr.ChatInterface(fn=respond_to_chat, title="Chat with AI")
|
|
18 |
app.mount("/static", StaticFiles(directory="static", html=True), name="static")
|
19 |
|
20 |
# Mount Gradio ChatInterface to FastAPI app
|
21 |
-
app = gr.mount_gradio_app(app, chat,
|
22 |
|
23 |
# Run the app with uvicorn
|
24 |
if __name__ == "__main__":
|
|
|
18 |
app.mount("/static", StaticFiles(directory="static", html=True), name="static")
|
19 |
|
20 |
# Mount Gradio ChatInterface to FastAPI app
|
21 |
+
app = gr.mount_gradio_app(app, chat,path="/gradio")
|
22 |
|
23 |
# Run the app with uvicorn
|
24 |
if __name__ == "__main__":
|