yvansevic commited on
Commit
271eae7
·
verified ·
1 Parent(s): 5fcdf57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -22,8 +22,9 @@ if os.path.exists(repo_dir):
22
  subprocess.run(["git", "clone", "https://github.com/nari-labs/dia2.git", repo_dir], check=True)
23
 
24
  # Step 3: Install deps from pyproject.toml (no-deps since torch already in requirements.txt)
25
- subprocess.run([sys.executable, "-m", "pip", "install", "--quiet", "--no-deps", "-e", repo_dir], check=True)
26
-
 
27
  # Step 4: Bust cache and prepend path
28
  sys.path.insert(0, repo_dir)
29
  importlib.invalidate_caches()
 
22
  subprocess.run(["git", "clone", "https://github.com/nari-labs/dia2.git", repo_dir], check=True)
23
 
24
  # Step 3: Install deps from pyproject.toml (no-deps since torch already in requirements.txt)
25
+ subprocess.run([
26
+ sys.executable, "-m", "pip", "install", "--quiet", "-e", repo_dir
27
+ ], check=True)
28
  # Step 4: Bust cache and prepend path
29
  sys.path.insert(0, repo_dir)
30
  importlib.invalidate_caches()