ikraamkb commited on
Commit
145f8e8
·
verified ·
1 Parent(s): 8e97f25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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():