charbel-malo commited on
Commit
3d97530
β€’
1 Parent(s): 2848688

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -325,6 +325,7 @@ async def toggle_favorite_endpoint(request: Request):
325
  return {'grid_html': grid_html}
326
 
327
  app = gr.mount_gradio_app(api, demo,"/")
 
328
  # Initialize file watcher
329
  if __name__ == "__main__":
330
  import uvicorn
 
325
  return {'grid_html': grid_html}
326
 
327
  app = gr.mount_gradio_app(api, demo,"/")
328
+ demo.launch(ssr_mode=False)
329
  # Initialize file watcher
330
  if __name__ == "__main__":
331
  import uvicorn