Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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"]
|