Spaces:
Paused
Paused
winstxnhdw
commited on
Commit
•
963a77a
1
Parent(s):
ec0fff1
fix(caddy): set global `http_port`
Browse files- Dockerfile +1 -0
- README.md +1 -1
Dockerfile
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
2 |
|
3 |
ENV SERVER_PORT 7860
|
|
|
4 |
|
5 |
EXPOSE $SERVER_PORT
|
|
|
1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
2 |
|
3 |
ENV SERVER_PORT 7860
|
4 |
+
ENV BACKEND_INTERNAL_URL http://localhost:$SERVER_PORT
|
5 |
|
6 |
EXPOSE $SERVER_PORT
|
README.md
CHANGED
@@ -8,7 +8,7 @@ python_version: 3.11.4
|
|
8 |
models: [winstxnhdw/nllb-200-distilled-1.3B-ct2-int8]
|
9 |
tags: [translation, translator, nllb, ctranslate2]
|
10 |
pinned: true
|
11 |
-
base_path: /docs
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
8 |
models: [winstxnhdw/nllb-200-distilled-1.3B-ct2-int8]
|
9 |
tags: [translation, translator, nllb, ctranslate2]
|
10 |
pinned: true
|
11 |
+
base_path: /api/docs
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|