WHOAM-EYE commited on
Commit
4359016
·
verified ·
1 Parent(s): 09ab86e

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. server/app.py +2 -3
server/app.py CHANGED
@@ -56,10 +56,9 @@ app = create_app(
56
  max_concurrent_envs=1, # increase this number to allow more concurrent WebSocket sessions
57
  )
58
 
59
- # Serve the custom analyst UI at both /web and /demo so Hugging Face's
60
- # default OpenEnv entrypoint and local demo links land on the richer interface.
61
  app = gr.mount_gradio_app(app, create_demo(), path="/web")
62
- app = gr.mount_gradio_app(app, create_demo(), path="/demo")
63
 
64
 
65
  def serve(host: str = "0.0.0.0", port: int = 8000):
 
56
  max_concurrent_envs=1, # increase this number to allow more concurrent WebSocket sessions
57
  )
58
 
59
+ # Serve the custom analyst UI at /web. This keeps the Hugging Face Space
60
+ # entrypoint aligned with `openenv push --no-interface`.
61
  app = gr.mount_gradio_app(app, create_demo(), path="/web")
 
62
 
63
 
64
  def serve(host: str = "0.0.0.0", port: int = 8000):