MichonGoddijn231849 commited on
Commit
12205b7
·
1 Parent(s): 8a8c3b9

fix loading1

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. requirements_docker.txt +1 -1
Dockerfile CHANGED
@@ -60,7 +60,8 @@ ENV COQUI_TOS_AGREED=1
60
  # Install Python dependencies
61
  COPY requirements_docker.txt ./
62
  # CRITICAL: Install funasr with --no-deps to avoid gradio hell
63
- RUN python3.11 -m pip install --no-cache-dir -r requirements_docker.txt
 
64
 
65
  # ============================================================
66
  # BAKE MODELS INTO IMAGE (Optimized Build)
 
60
  # Install Python dependencies
61
  COPY requirements_docker.txt ./
62
  # CRITICAL: Install funasr with --no-deps to avoid gradio hell
63
+ RUN python3.11 -m pip install --no-cache-dir -r requirements_docker.txt && \
64
+ python3.11 -m pip install --no-cache-dir funasr>=1.0.0 --no-deps
65
 
66
  # ============================================================
67
  # BAKE MODELS INTO IMAGE (Optimized Build)
requirements_docker.txt CHANGED
@@ -33,7 +33,7 @@ webrtcvad==2.0.10
33
 
34
  # Voice Emotion Recognition (emotion2vec+ Large - 93% accuracy)
35
  # CRITICAL: Install funasr without dependencies to avoid gradio hell
36
- funasr>=1.0.0
37
  # Manually install funasr dependencies (skipping gradio)
38
  modelscope
39
  kaldiio
 
33
 
34
  # Voice Emotion Recognition (emotion2vec+ Large - 93% accuracy)
35
  # CRITICAL: Install funasr without dependencies to avoid gradio hell
36
+ # funasr>=1.0.0 (Moved to Dockerfile manual install)
37
  # Manually install funasr dependencies (skipping gradio)
38
  modelscope
39
  kaldiio