Yermek68 commited on
Commit
e2bd183
·
verified ·
1 Parent(s): 54d4787

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +5 -2
entrypoint.sh CHANGED
@@ -1,6 +1,9 @@
1
  #!/usr/bin/env bash
2
  set -e
3
- echo "🔧 Re-installing huggingface-hub==0.23.4 before runtime..."
 
4
  pip install --force-reinstall --no-cache-dir "huggingface-hub==0.23.4"
5
- python -c "import huggingface_hub, transformers; print('✅ OK: huggingface-hub', huggingface_hub.__version__)"
 
6
  exec python app.py
 
 
1
  #!/usr/bin/env bash
2
  set -e
3
+
4
+ echo "🔧 Исправление среды Hugging Face: переустанавливаем huggingface-hub==0.23.4"
5
  pip install --force-reinstall --no-cache-dir "huggingface-hub==0.23.4"
6
+
7
+ echo "✅ huggingface-hub успешно переустановлен. Запуск приложения..."
8
  exec python app.py
9
+