Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +1 -1
- pyproject.toml +1 -0
- test_concurrency.py +1 -1
Dockerfile
CHANGED
|
@@ -78,4 +78,4 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
| 78 |
# Run the FastAPI server
|
| 79 |
# The module path is constructed to work with the /app/env structure
|
| 80 |
ENV ENABLE_WEB_INTERFACE=true
|
| 81 |
-
CMD ["sh", "-c", "cd /app/env && uvicorn server.app:app --host 0.0.0.0 --port 8000
|
|
|
|
| 78 |
# Run the FastAPI server
|
| 79 |
# The module path is constructed to work with the /app/env structure
|
| 80 |
ENV ENABLE_WEB_INTERFACE=true
|
| 81 |
+
CMD ["sh", "-c", "cd /app/env && uvicorn server.app:app --host 0.0.0.0 --port 8000"]
|
pyproject.toml
CHANGED
|
@@ -16,6 +16,7 @@ requires-python = ">=3.10"
|
|
| 16 |
dependencies = [
|
| 17 |
# Core OpenEnv runtime (provides FastAPI server + HTTP client types)
|
| 18 |
"openenv[core] @ git+https://github.com/meta-pytorch/OpenEnv.git@release",
|
|
|
|
| 19 |
# Environment-specific dependencies
|
| 20 |
# Add all dependencies needed for your environment here
|
| 21 |
# Examples:
|
|
|
|
| 16 |
dependencies = [
|
| 17 |
# Core OpenEnv runtime (provides FastAPI server + HTTP client types)
|
| 18 |
"openenv[core] @ git+https://github.com/meta-pytorch/OpenEnv.git@release",
|
| 19 |
+
"uvicorn[standard]",
|
| 20 |
# Environment-specific dependencies
|
| 21 |
# Add all dependencies needed for your environment here
|
| 22 |
# Examples:
|
test_concurrency.py
CHANGED
|
@@ -16,7 +16,7 @@ import time
|
|
| 16 |
import httpx
|
| 17 |
|
| 18 |
|
| 19 |
-
BASE_URL = "
|
| 20 |
|
| 21 |
|
| 22 |
async def reset(client: httpx.AsyncClient) -> dict:
|
|
|
|
| 16 |
import httpx
|
| 17 |
|
| 18 |
|
| 19 |
+
BASE_URL = "https://burtenshaw-openenv-benchmark.hf.space/"
|
| 20 |
|
| 21 |
|
| 22 |
async def reset(client: httpx.AsyncClient) -> dict:
|