cahya commited on
Commit
86e830e
1 Parent(s): 8a70543

add espeak-ng

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. app/whisper.py +0 -12
Dockerfile CHANGED
@@ -3,6 +3,7 @@ WORKDIR /fastapi/app
3
  RUN apt-get update && apt-get install -y \
4
  nginx \
5
  ffmpeg \
 
6
  && rm -rf /var/lib/apt/lists/*
7
  COPY ./requirements.txt /fastapi/requirements.txt
8
  RUN pip install --no-cache-dir --upgrade -r /fastapi/requirements.txt
 
3
  RUN apt-get update && apt-get install -y \
4
  nginx \
5
  ffmpeg \
6
+ espeak-ng \
7
  && rm -rf /var/lib/apt/lists/*
8
  COPY ./requirements.txt /fastapi/requirements.txt
9
  RUN pip install --no-cache-dir --upgrade -r /fastapi/requirements.txt
app/whisper.py CHANGED
@@ -16,18 +16,6 @@ whisper_models = {
16
  "name": "cahya/whisper-tiny-id",
17
  "pipe": None,
18
  },
19
- "Indonesian Whisper Small": {
20
- "name": "cahya/whisper-small-id",
21
- "pipe": None,
22
- },
23
- "Indonesian Whisper Medium": {
24
- "name": "cahya/whisper-medium-id",
25
- "pipe": None,
26
- },
27
- "OpenAI Whisper Medium": {
28
- "name": "openai/whisper-medium",
29
- "pipe": None,
30
- },
31
  }
32
  lang = "id"
33
  title = "Indonesian Whisperer"
 
16
  "name": "cahya/whisper-tiny-id",
17
  "pipe": None,
18
  },
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
20
  lang = "id"
21
  title = "Indonesian Whisperer"