longvnhue1 commited on
Commit
afe3bd7
·
verified ·
1 Parent(s): b525648

Update Dockerfile (#2)

Browse files

- Update Dockerfile (2b065a978192d7e1820e69e9c9d612c0714457b7)

Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -23,4 +23,5 @@ RUN python -c "from transformers import M2M100Tokenizer, M2M100ForConditionalGen
23
  M2M100ForConditionalGeneration.from_pretrained('longvnhue1/facebook-m2m100_418M-fine_tuning')"
24
 
25
  # Mặc định FastAPI chạy bằng Uvicorn
26
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
23
  M2M100ForConditionalGeneration.from_pretrained('longvnhue1/facebook-m2m100_418M-fine_tuning')"
24
 
25
  # Mặc định FastAPI chạy bằng Uvicorn
26
+ # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
27
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"]