Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -259,6 +259,7 @@ with gr.Blocks(title="CPU Document Summarizer", theme="soft") as demo:
|
|
259 |
|
260 |
# FastAPI setup
|
261 |
app = FastAPI()
|
|
|
262 |
|
263 |
@app.get("/")
|
264 |
def redirect():
|
|
|
259 |
|
260 |
# FastAPI setup
|
261 |
app = FastAPI()
|
262 |
+
app = gr.mount_gradio_app(app, demo, path="/")
|
263 |
|
264 |
@app.get("/")
|
265 |
def redirect():
|