Spaces:
Paused
Paused
Update app.py
Browse files14 unmodified lines1516171819202114 unmodified linesif not os.path.exists(LTX_REPO_DIR):print(f"Cloning {LTX_REPO_URL}...")subprocess.run(["git", "clone", "--depth", "1", LTX_REPO_URL, LTX_REPO_DIR], check=True)print("Installing ltx-core and ltx-pipelines from cloned repo...")subprocess.run(14 unmodified lines151617181920212223242514 unmodified linesif not os.path.exists(LTX_REPO_DIR):print(f"Cloning {LTX_REPO_URL}...")subprocess.run(["git", "clone", LTX_REPO_URL, LTX_REPO_DIR], check=True)# 🔒 Pin to last known working commit (UPDATE THIS if needed)WORKING_COMMIT = "c0b9c6d" # example commit — replace with your known working onesubprocess.run(["git", "-C", LTX_REPO_DIR, "checkout", WORKING_COMMIT], check=True)print("Installing ltx-core and ltx-pipelines from cloned repo...")subprocess.run(
app.py+5-1