Yermek68 commited on
Commit
43c0271
·
verified ·
1 Parent(s): ae867e7

Create .hf/pre-build.sh

Browse files
Files changed (1) hide show
  1. .hf/pre-build.sh +4 -3
.hf/pre-build.sh CHANGED
@@ -1,4 +1,5 @@
1
- #!/usr/bin/env bash
2
- echo "🔧 Pre-build hook: enforcing huggingface-hub<1.0"
 
3
  pip install --upgrade pip
4
- pip install "huggingface-hub<1.0,>=0.23.2" --force-reinstall
 
1
+ #!/bin/bash
2
+ set -e
3
+ echo "🧱 Pre-build hook: ставим нужные версии библиотек до HF runtime"
4
  pip install --upgrade pip
5
+ pip install "gradio==4.41.0" "transformers==4.46.0" "huggingface-hub==0.23.4"