dagloop5 commited on
Commit
84b7044
·
verified ·
1 Parent(s): bb16e86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -6,6 +6,11 @@ import sys
6
  os.environ["TORCH_COMPILE_DISABLE"] = "1"
7
  os.environ["TORCHDYNAMO_DISABLE"] = "1"
8
 
 
 
 
 
 
9
  # Clone LTX-2 repo and install packages
10
  LTX_REPO_URL = "https://github.com/Lightricks/LTX-2.git"
11
  LTX_REPO_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "LTX-2")
 
6
  os.environ["TORCH_COMPILE_DISABLE"] = "1"
7
  os.environ["TORCHDYNAMO_DISABLE"] = "1"
8
 
9
+ subprocess.run(
10
+ [sys.executable, "-m", "pip", "install", "kernels-community", "--quiet"],
11
+ check=False,
12
+ )
13
+
14
  # Clone LTX-2 repo and install packages
15
  LTX_REPO_URL = "https://github.com/Lightricks/LTX-2.git"
16
  LTX_REPO_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "LTX-2")