Upload 2 files
Browse files- Dockerfile +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# 銉欍兗銈广偆銉°兗銈搞倰鎸囧畾
|
2 |
FROM python:3.11-slim
|
3 |
|
4 |
-
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y ffmpeg
|
5 |
|
6 |
# Set up a new user named "user" with user ID 1000
|
7 |
RUN useradd -m -u 1000 user
|
|
|
1 |
# 銉欍兗銈广偆銉°兗銈搞倰鎸囧畾
|
2 |
FROM python:3.11-slim
|
3 |
|
4 |
+
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y ffmpeg libcudnn8 libcudnn8-dev
|
5 |
|
6 |
# Set up a new user named "user" with user ID 1000
|
7 |
RUN useradd -m -u 1000 user
|
requirements.txt
CHANGED
@@ -2,7 +2,7 @@ librosa
|
|
2 |
soundfile
|
3 |
fastapi
|
4 |
ffmpeg-python
|
5 |
-
|
6 |
transformers
|
7 |
numpy==1.26.0
|
8 |
torch==2.1.2 --index-url https://download.pytorch.org/whl/cu118
|
|
|
2 |
soundfile
|
3 |
fastapi
|
4 |
ffmpeg-python
|
5 |
+
faster_whisper==1.0.3
|
6 |
transformers
|
7 |
numpy==1.26.0
|
8 |
torch==2.1.2 --index-url https://download.pytorch.org/whl/cu118
|