LiuZichen commited on
Commit
ab40d40
·
verified ·
1 Parent(s): cb71af4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -267,8 +267,6 @@ def get_root_url(
267
  import gradio.route_utils
268
  gr.route_utils.get_root_url = get_root_url
269
 
270
- gr.mount_gradio_app(app, demo, path="/demo", root_path="/demo")
271
-
272
  @app.post("/magic_quill/generate_image")
273
  async def generate_image(request: Request):
274
  data = await request.json()
 
267
  import gradio.route_utils
268
  gr.route_utils.get_root_url = get_root_url
269
 
 
 
270
  @app.post("/magic_quill/generate_image")
271
  async def generate_image(request: Request):
272
  data = await request.json()