Spaces:
Sleeping
Sleeping
File size: 226 Bytes
33688d4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from fastapi import FastAPI
import gradio as gr
from app import demo
app = FastAPI()
@app.get('/')
async def root():
return "Gradio app is running at /gradio", 200
app = gr.mount_gradio_app(app, demo, path='/gradio')
|