from fastapi import FastAPI import gradio as gr from run import Core app = FastAPI() app = gr.mount_gradio_app(app, Core, path="/")