zhiweili commited on
Commit
a351f83
Β·
1 Parent(s): ddfe538

fix path append

Browse files
Files changed (1) hide show
  1. app_onediff.py +2 -2
app_onediff.py CHANGED
@@ -16,9 +16,9 @@ import sys
16
  os.system("python3 -m pip --no-cache-dir install --pre nexfort -f https://github.com/siliconflow/nexfort_releases/releases/expanded_assets/torch2.4.1_cu121")
17
  os.system("git clone https://github.com/siliconflow/onediff.git")
18
  os.system("cd onediff && python3 -m pip install -e .")
19
- sys.append("/home/user/app/onediff/src")
20
  os.system("cd onediff/onediff_diffusers_extensions && python3 -m pip install -e .")
21
- sys.append("/home/user/app/onediff/onediff_diffusers_extensions/src")
22
 
23
  os.system("pip show nexfort")
24
  os.system("pip show onediff")
 
16
  os.system("python3 -m pip --no-cache-dir install --pre nexfort -f https://github.com/siliconflow/nexfort_releases/releases/expanded_assets/torch2.4.1_cu121")
17
  os.system("git clone https://github.com/siliconflow/onediff.git")
18
  os.system("cd onediff && python3 -m pip install -e .")
19
+ sys.path.append("/home/user/app/onediff/src")
20
  os.system("cd onediff/onediff_diffusers_extensions && python3 -m pip install -e .")
21
+ sys.path.append("/home/user/app/onediff/onediff_diffusers_extensions/src")
22
 
23
  os.system("pip show nexfort")
24
  os.system("pip show onediff")