winstxnhdw commited on
Commit
8eb8073
·
1 Parent(s): 0ba86cb

build: remove ratelimiter

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -2
  2. README.md +2 -2
Dockerfile CHANGED
@@ -1,7 +1,8 @@
1
  FROM ghcr.io/winstxnhdw/capgen:main
2
 
3
- ENV SERVER_PORT 5000
4
  ENV APP_PORT 7860
5
- ENV OMP_NUM_THREADS 4
 
 
6
 
7
  EXPOSE $APP_PORT
 
1
  FROM ghcr.io/winstxnhdw/capgen:main
2
 
 
3
  ENV APP_PORT 7860
4
+ ENV OMP_NUM_THREADS 2
5
+ ENV CT2_USE_EXPERIMENTAL_PACKED_GEMM 1
6
+ ENV CT2_FORCE_CPU_ISA AVX512
7
 
8
  EXPOSE $APP_PORT
README.md CHANGED
@@ -6,13 +6,13 @@ colorTo: indigo
6
  sdk: docker
7
  python_version: 3.11.4
8
  models:
9
- - openai/whisper-large-v2
10
  tags:
11
  - audio
12
  - automatic-speech-recognition
13
  - ctranslate2
14
  pinned: true
15
- base_path: /docs
16
  ---
17
 
18
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
6
  sdk: docker
7
  python_version: 3.11.4
8
  models:
9
+ - guillaumekln/faster-whisper-large-v2
10
  tags:
11
  - audio
12
  - automatic-speech-recognition
13
  - ctranslate2
14
  pinned: true
15
+ base_path: /api/docs
16
  ---
17
 
18
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference