harsh-dev commited on
Commit
4de8573
·
1 Parent(s): 973034b
Files changed (1) hide show
  1. Dockerfile +1 -7
Dockerfile CHANGED
@@ -33,12 +33,6 @@ RUN pip install --no-cache-dir --upgrade pip \
33
  EXPOSE 7860
34
 
35
  # --------------------
36
- # 7️⃣ Preload models (optional)
37
- # --------------------
38
- # This ensures HF Spaces won't crash if models are missing
39
- RUN python -c "from app import get_voice, VoiceActor; get_voice(VoiceActor.alba.value)" || echo 'Default voice loaded'
40
-
41
- # --------------------
42
- # 8️⃣ Command to run FastAPI
43
  # --------------------
44
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]
 
33
  EXPOSE 7860
34
 
35
  # --------------------
36
+ # 7️⃣ Command to run FastAPI
 
 
 
 
 
 
37
  # --------------------
38
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]