Spaces:
Running
Running
Commit ·
52666c5
1
Parent(s): 8eb8073
fix: remove `caddy` to not violate HF ToS
Browse files- Dockerfile +3 -4
- README.md +1 -1
Dockerfile
CHANGED
|
@@ -1,8 +1,7 @@
|
|
| 1 |
FROM ghcr.io/winstxnhdw/capgen:main
|
| 2 |
|
| 3 |
-
ENV
|
| 4 |
-
ENV OMP_NUM_THREADS
|
| 5 |
-
ENV
|
| 6 |
-
ENV CT2_FORCE_CPU_ISA AVX512
|
| 7 |
|
| 8 |
EXPOSE $APP_PORT
|
|
|
|
| 1 |
FROM ghcr.io/winstxnhdw/capgen:main
|
| 2 |
|
| 3 |
+
ENV SERVER_PORT=7860
|
| 4 |
+
ENV OMP_NUM_THREADS=2
|
| 5 |
+
ENV CT2_FORCE_CPU_ISA=AVX512
|
|
|
|
| 6 |
|
| 7 |
EXPOSE $APP_PORT
|
README.md
CHANGED
|
@@ -12,7 +12,7 @@ tags:
|
|
| 12 |
- automatic-speech-recognition
|
| 13 |
- ctranslate2
|
| 14 |
pinned: true
|
| 15 |
-
base_path: /api/
|
| 16 |
---
|
| 17 |
|
| 18 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 12 |
- automatic-speech-recognition
|
| 13 |
- ctranslate2
|
| 14 |
pinned: true
|
| 15 |
+
base_path: /api/schema/swagger
|
| 16 |
---
|
| 17 |
|
| 18 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|