techfreakworm commited on
Commit
b800376
·
unverified ·
1 Parent(s): 76862de

fix(deps): install diffsynth from github (not on pypi)

Browse files

The package 'diffsynth-studio' does not exist on pypi. The actual package
name in modelscope/DiffSynth-Studio's pyproject.toml is 'diffsynth' (v2.0.7),
and the only install path is from the git repo. HF Space build failed:

ERROR: Could not find a version that satisfies the requirement
diffsynth-studio>=0.5.0 (from versions: none)

Switch to: diffsynth @ git+https://github.com/modelscope/DiffSynth-Studio.git

Files changed (1) hide show
  1. requirements.txt +1 -1
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
  # Core
2
  gradio==5.50.0
3
  spaces==0.30.0
4
- diffsynth-studio>=0.5.0
5
  torch>=2.4
6
  safetensors>=0.4.5
7
  huggingface-hub>=0.27
 
1
  # Core
2
  gradio==5.50.0
3
  spaces==0.30.0
4
+ diffsynth @ git+https://github.com/modelscope/DiffSynth-Studio.git
5
  torch>=2.4
6
  safetensors>=0.4.5
7
  huggingface-hub>=0.27