Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- 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
|
| 60 |
-
#
|
| 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):
|