Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
dfeea18
1
Parent(s):
9b177de
update
Browse files
setup.sh
CHANGED
@@ -32,5 +32,10 @@ huggingface-cli download --resume-download ZhiyuanthePony/TriplaneTurbo \
|
|
32 |
pip install ./diso_package/diso-0.1.4-*.whl
|
33 |
echo "Setup completed successfully!"
|
34 |
|
35 |
-
|
36 |
-
pip
|
|
|
|
|
|
|
|
|
|
|
|
32 |
pip install ./diso_package/diso-0.1.4-*.whl
|
33 |
echo "Setup completed successfully!"
|
34 |
|
35 |
+
echo "Installing compatible dependency versions..."
|
36 |
+
pip uninstall -y pydantic
|
37 |
+
pip install pydantic==1.10.8 # Install compatible older version
|
38 |
+
|
39 |
+
# Ensure Gradio and other dependencies are installed correctly
|
40 |
+
pip install "gradio>=4.0.0,<5.0.0"
|
41 |
+
pip install "fastapi<0.103.0" # Ensure compatible FastAPI version
|