zhiweili commited on
Commit
8303ab4
Β·
1 Parent(s): 347ed1e

try to fix no module found

Browse files
Files changed (1) hide show
  1. app_onediff.py +2 -2
app_onediff.py CHANGED
@@ -13,8 +13,8 @@ from diffusers import (
13
 
14
  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")
15
  os.system("git clone https://github.com/siliconflow/onediff.git")
16
- os.system("cd onediff && python3 -m pip install -e .")
17
- os.system("cd onediff/onediff_diffusers_extensions && python3 -m pip install -e .")
18
 
19
  from onediff.infer_compiler import oneflow_compile
20
  from onediffx import compile_pipe
 
13
 
14
  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")
15
  os.system("git clone https://github.com/siliconflow/onediff.git")
16
+ os.system("python3 -m pip install -e ./onediff")
17
+ os.system("python3 -m pip install -e ./onediff/onediff_diffusers_extensions")
18
 
19
  from onediff.infer_compiler import oneflow_compile
20
  from onediffx import compile_pipe