31e414a 9952858 31e414a 9952858 31e414a
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr from fastapi import FastAPI app = FastAPI() @app.get("/") def read_main(): return {"message": "This is your FastAPI app"} import main gr.mount_gradio_app(app, main.demo, path="/")