Spaces:
Runtime error
Runtime error
Commit
Β·
3fac508
1
Parent(s):
4270a8e
Update app.py
Browse files
app.py
CHANGED
@@ -8,14 +8,10 @@ from utils import mask_generation_before
|
|
8 |
import os
|
9 |
import cv2
|
10 |
|
11 |
-
os.system('wget https://huggingface.co/Vchitect/SEINE/resolve/main/seine.pt?download=true -o pre-trained/')
|
12 |
-
|
13 |
config_path = "./configs/sample_i2v.yaml"
|
14 |
args = OmegaConf.load(config_path)
|
15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
|
17 |
-
|
18 |
-
|
19 |
css = """
|
20 |
h1 {
|
21 |
text-align: center;
|
|
|
8 |
import os
|
9 |
import cv2
|
10 |
|
|
|
|
|
11 |
config_path = "./configs/sample_i2v.yaml"
|
12 |
args = OmegaConf.load(config_path)
|
13 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
14 |
|
|
|
|
|
15 |
css = """
|
16 |
h1 {
|
17 |
text-align: center;
|