File tree Expand file tree Collapse file tree 5 files changed +568
-173
lines changed
Expand file tree Collapse file tree 5 files changed +568
-173
lines changed Original file line number Diff line number Diff line change 11release : python manage.py migrate --noinput && python manage.py clear_cache --cache=default && python manage.py sync_roles
2- #web: python manage.py install_languages fr_en ar_en es_en --noinput && gunicorn hypha.wsgi:application --log-file -
3- web : gunicorn hypha.wsgi:application --log-file -
2+ web : python manage.py install_languages fr_en ar_en es_en --noinput && gunicorn hypha.wsgi:application --log-file -
Original file line number Diff line number Diff line change @@ -101,8 +101,11 @@ dependencies = [
101101# Requirements for machine translations
102102"translate" = [" torch~=2.3" , " argostranslate~=1.9.6" ]
103103
104+ "translate-cpu" = [" torch==2.3.1+cpu" , " argostranslate~=1.9.6" ]
105+
104106[tool .uv ]
105107default-groups = [" dev" , " docs" ]
108+ find-links = [" https://download.pytorch.org/whl/cpu/torch_stable.html" ]
106109
107110[tool .mypy ]
108111plugins = [" mypy_django_plugin.main" ]
You can’t perform that action at this time.
0 commit comments