Spaces:
Running
Running
Create .hf/pre-build.sh
Browse files- .hf/pre-build.sh +4 -3
.hf/pre-build.sh
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
-
#!/
|
| 2 |
-
|
|
|
|
| 3 |
pip install --upgrade pip
|
| 4 |
-
pip install "huggingface-hub
|
|
|
|
| 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"
|