eroha-agentapi / entrypoint.sh
Yermek68's picture
Update entrypoint.sh
34fecbf verified
raw
history blame contribute delete
420 Bytes
#!/usr/bin/env bash
set -euo pipefail
echo "πŸ”§ HF-runtime override: reinstalling locked deps..."
pip install --force-reinstall --no-cache-dir \
gradio==4.41.0 \
transformers==4.46.0 \
huggingface-hub==0.23.4 \
torch==2.4.1 \
fastapi==0.115.0 \
uvicorn==0.30.6 \
langdetect==1.0.9 \
requests==2.32.3
python -c "import gradio, transformers, torch; print('βœ… All OK - deps loaded')"
exec python app.py