abidlabs HF Staff commited on
Commit
1376767
·
1 Parent(s): d956ca6

Update backend for Hugging Face org move

Browse files
Files changed (3) hide show
  1. Dockerfile +1 -1
  2. README.md +1 -1
  3. backend/main.py +1 -1
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # API-only Space image: same backend/agent as the main Space. Documentation is
2
- # served from abidlabs/ml-intern-api-docs so docs-only changes do not rebuild
3
  # or restart this API server.
4
  FROM python:3.12-slim
5
 
 
1
  # API-only Space image: same backend/agent as the main Space. Documentation is
2
+ # served from huggingface/ml-intern-api-docs so docs-only changes do not rebuild
3
  # or restart this API server.
4
  FROM python:3.12-slim
5
 
README.md CHANGED
@@ -18,7 +18,7 @@ researches/codes/launches HF Jobs under **your** namespace, and streams
18
  results + artifacts (trackio dashboards, jobs, models) over resumable SSE.
19
 
20
  Interactive API documentation is served separately at
21
- https://abidlabs-ml-intern-api-docs.static.hf.space so docs-only changes do not
22
  restart this backend Space. Endpoints live under `/v1` — start at
23
  `POST /v1/responses`.
24
 
 
18
  results + artifacts (trackio dashboards, jobs, models) over resumable SSE.
19
 
20
  Interactive API documentation is served separately at
21
+ https://huggingface-ml-intern-api-docs.static.hf.space so docs-only changes do not
22
  restart this backend Space. Endpoints live under `/v1` — start at
23
  `POST /v1/responses`.
24
 
backend/main.py CHANGED
@@ -29,7 +29,7 @@ logging.basicConfig(
29
  )
30
  logger = logging.getLogger(__name__)
31
  SHUTDOWN_USAGE_REFRESH_CONCURRENCY = 32
32
- API_DOCS_URL = "https://abidlabs-ml-intern-api-docs.static.hf.space"
33
 
34
 
35
  async def _flush_session_on_shutdown(sid: str, agent_session, semaphore) -> None:
 
29
  )
30
  logger = logging.getLogger(__name__)
31
  SHUTDOWN_USAGE_REFRESH_CONCURRENCY = 32
32
+ API_DOCS_URL = "https://huggingface-ml-intern-api-docs.static.hf.space"
33
 
34
 
35
  async def _flush_session_on_shutdown(sid: str, agent_session, semaphore) -> None: