Yermek68 commited on
Commit
1d0b007
·
verified ·
1 Parent(s): e123748

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +6 -0
entrypoint.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
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