dagloop5 commited on
Commit
5a2a32a
·
verified ·
1 Parent(s): 9bfa018

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -15,7 +15,11 @@ LTX_REPO_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "LTX-2")
15
 
16
  if not os.path.exists(LTX_REPO_DIR):
17
  print(f"Cloning {LTX_REPO_URL}...")
18
- subprocess.run(["git", "clone", "--depth", "1", LTX_REPO_URL, LTX_REPO_DIR], check=True)
 
 
 
 
19
 
20
  print("Installing ltx-core and ltx-pipelines from cloned repo...")
21
  subprocess.run(
 
15
 
16
  if not os.path.exists(LTX_REPO_DIR):
17
  print(f"Cloning {LTX_REPO_URL}...")
18
+ subprocess.run(["git", "clone", LTX_REPO_URL, LTX_REPO_DIR], check=True)
19
+
20
+ # 🔒 Pin to last known working commit (UPDATE THIS if needed)
21
+ WORKING_COMMIT = "c0b9c6d" # example commit — replace with your known working one
22
+ subprocess.run(["git", "-C", LTX_REPO_DIR, "checkout", WORKING_COMMIT], check=True)
23
 
24
  print("Installing ltx-core and ltx-pipelines from cloned repo...")
25
  subprocess.run(