thangsds commited on
Commit
f6f9187
·
verified ·
1 Parent(s): c030710

Upload 3 files

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -5
  2. requirements.txt +3 -1
Dockerfile CHANGED
@@ -1,6 +1,5 @@
1
  FROM python:3.10-slim
2
 
3
- # Cài các package hệ thống cần thiết
4
  RUN apt-get update && apt-get install -y \
5
  git \
6
  ffmpeg \
@@ -10,15 +9,11 @@ RUN apt-get update && apt-get install -y \
10
 
11
  WORKDIR /app
12
 
13
- # Copy file requirements
14
  COPY requirements.txt .
15
 
16
- # Cài python packages
17
  RUN pip install --upgrade pip
18
  RUN pip install -r requirements.txt
19
 
20
- # Copy toàn bộ code
21
  COPY . .
22
 
23
- # Chạy app
24
  CMD ["python", "app.py"]
 
1
  FROM python:3.10-slim
2
 
 
3
  RUN apt-get update && apt-get install -y \
4
  git \
5
  ffmpeg \
 
9
 
10
  WORKDIR /app
11
 
 
12
  COPY requirements.txt .
13
 
 
14
  RUN pip install --upgrade pip
15
  RUN pip install -r requirements.txt
16
 
 
17
  COPY . .
18
 
 
19
  CMD ["python", "app.py"]
requirements.txt CHANGED
@@ -1,7 +1,9 @@
1
  torch
2
  torchaudio
3
  transformers
4
- gradio==4.44.1
5
  neucodec
6
  phonemizer
 
 
7
  git+https://github.com/pnnbao97/VieNeu-TTS.git
 
1
  torch
2
  torchaudio
3
  transformers
4
+ gradio>=5.49.1
5
  neucodec
6
  phonemizer
7
+ soundfile
8
+ huggingface_hub
9
  git+https://github.com/pnnbao97/VieNeu-TTS.git