ZhiyuanthePony commited on
Commit
dfeea18
·
1 Parent(s): 9b177de
Files changed (1) hide show
  1. setup.sh +7 -2
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
- # just to install again in case dependency error
36
- pip install huggingface_hub==0.24.7
 
 
 
 
 
 
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