lalalalalalalalalala's picture
Update app.py
f2fe3b0 verified
raw
history blame
263 Bytes
from fastapi import FastAPI
def install_gradio():
subprocess.check_call([sys.executable, "-m", "pip", "install", "--upgrade", "gradio"])
install_gradio()
import gradio as gr
from run import Core
app = FastAPI()
app = gr.mount_gradio_app(app, Core, path="/")