charbel-malo commited on
Commit
21476f3
·
verified ·
1 Parent(s): 97e3902

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -273,7 +273,7 @@ async def toggle_favorite_route(request: Request):
273
 
274
  # Mount the Gradio app onto the FastAPI app
275
  app = gr.mount_gradio_app(api, demo, path="/")
276
-
277
  if __name__ == "__main__":
278
  import uvicorn
279
  load_shortcuts()
 
273
 
274
  # Mount the Gradio app onto the FastAPI app
275
  app = gr.mount_gradio_app(api, demo, path="/")
276
+ demo.launch()
277
  if __name__ == "__main__":
278
  import uvicorn
279
  load_shortcuts()