Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -26,8 +26,8 @@ WORKDIR /app
|
|
| 26 |
RUN pip install --no-cache-dir --upgrade pip
|
| 27 |
RUN pip install --no-cache-dir "cython<3" "numpy<2" wheel setuptools huggingface_hub
|
| 28 |
|
| 29 |
-
# ၄။ Install Dependencies
|
| 30 |
-
#
|
| 31 |
RUN pip install --no-cache-dir \
|
| 32 |
torch \
|
| 33 |
torchaudio \
|
|
@@ -46,7 +46,8 @@ RUN pip install --no-cache-dir \
|
|
| 46 |
gradio \
|
| 47 |
av \
|
| 48 |
faster-whisper \
|
| 49 |
-
whisper-timestamped
|
|
|
|
| 50 |
|
| 51 |
# ၅။ OpenVoice Setup
|
| 52 |
RUN git clone https://github.com/myshell-ai/OpenVoice.git
|
|
@@ -56,6 +57,7 @@ WORKDIR /app/OpenVoice
|
|
| 56 |
RUN pip install --no-cache-dir --no-deps .
|
| 57 |
|
| 58 |
# ၇။ Download Checkpoints
|
|
|
|
| 59 |
RUN python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='myshell-ai/OpenVoice', local_dir='checkpoints_v2_0417')"
|
| 60 |
|
| 61 |
# ၈။ Run App
|
|
|
|
| 26 |
RUN pip install --no-cache-dir --upgrade pip
|
| 27 |
RUN pip install --no-cache-dir "cython<3" "numpy<2" wheel setuptools huggingface_hub
|
| 28 |
|
| 29 |
+
# ၄။ Install Dependencies (wavmark added!)
|
| 30 |
+
# ဒီနေရာမှာ wavmark ကို ထပ်ဖြည့်လိုက်တာပါ
|
| 31 |
RUN pip install --no-cache-dir \
|
| 32 |
torch \
|
| 33 |
torchaudio \
|
|
|
|
| 46 |
gradio \
|
| 47 |
av \
|
| 48 |
faster-whisper \
|
| 49 |
+
whisper-timestamped \
|
| 50 |
+
wavmark
|
| 51 |
|
| 52 |
# ၅။ OpenVoice Setup
|
| 53 |
RUN git clone https://github.com/myshell-ai/OpenVoice.git
|
|
|
|
| 57 |
RUN pip install --no-cache-dir --no-deps .
|
| 58 |
|
| 59 |
# ၇။ Download Checkpoints
|
| 60 |
+
# ခင်ဗျား ဖိုင်တင်ထားပြီးသားမို့ ဒါက error မတက်တော့ပါဘူး
|
| 61 |
RUN python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='myshell-ai/OpenVoice', local_dir='checkpoints_v2_0417')"
|
| 62 |
|
| 63 |
# ၈။ Run App
|