marccgrau commited on
Commit
865f10e
1 Parent(s): f978308

added dockerfile and requirements.txt

Browse files
Files changed (2) hide show
  1. Dockerfile +14 -0
  2. requirements.txt +20 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+ ADD . /app
5
+
6
+ COPY requirements.txt requirements.txt
7
+ RUN apt-get update && apt-get install git -y
8
+ RUN apt-get install build-essential -y
9
+ RUN apt-get install -y ffmpeg
10
+ RUN pip3 install -r requirements.txt
11
+
12
+ EXPOSE 5000
13
+
14
+ CMD ["python3", "app.py"]
requirements.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ git+https://github.com/huggingface/transformers
2
+ git+https://github.com/pyannote/pyannote-audio
3
+ git+https://github.com/openai/whisper.git
4
+ gradio==3.12
5
+ ffmpeg-python
6
+ pandas==1.5.0
7
+ pytube==12.1.0
8
+ sacremoses
9
+ sentencepiece
10
+ tokenizers
11
+ torch
12
+ torchaudio
13
+ tqdm==4.64.1
14
+ EasyNMT==2.0.2
15
+ nltk
16
+ transformers
17
+ pysrt
18
+ psutil==5.9.2
19
+ requests
20
+ gpuinfo