zixinz commited on
Commit
a52705d
·
1 Parent(s): 5adc43a

fix: move editable install to postBuild for Spaces build order

Browse files
Files changed (2) hide show
  1. postBuild +4 -0
  2. requirements.txt +1 -1
postBuild ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euxo pipefail
3
+ pip install --no-cache-dir -e code_edit/diffusers
4
+ chmod +x code_depth/get_weights.sh || true
requirements.txt CHANGED
@@ -32,7 +32,7 @@ huggingface-hub>=0.24.0
32
  accelerate>=0.33.0
33
  numpy==1.26.4
34
  # 你仓库里带有本地修改的 diffusers(推荐保留)
35
- -e code_edit/diffusers
36
  # 如果不放本地 diffusers,请删掉上一行,改用:
37
  # diffusers>=0.31.0
38
 
 
32
  accelerate>=0.33.0
33
  numpy==1.26.4
34
  # 你仓库里带有本地修改的 diffusers(推荐保留)
35
+ # -e code_edit/diffusers
36
  # 如果不放本地 diffusers,请删掉上一行,改用:
37
  # diffusers>=0.31.0
38