Spaces:
Runtime error
Runtime error
Commit
•
4bd00cc
1
Parent(s):
27486b3
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ from huggingface_hub import hf_hub_download
|
|
21 |
import gradio as gr
|
22 |
import uuid
|
23 |
|
24 |
-
from simple_video_sample import sample
|
25 |
|
26 |
num_frames = 25
|
27 |
num_steps = 30
|
@@ -45,7 +45,8 @@ def run_sampling(
|
|
45 |
print(output_folder)
|
46 |
print(version)
|
47 |
print(input_path)
|
48 |
-
|
|
|
49 |
return f"{output_folder}/000000.mp4"
|
50 |
|
51 |
def get_unique_embedder_keys_from_conditioner(conditioner):
|
|
|
21 |
import gradio as gr
|
22 |
import uuid
|
23 |
|
24 |
+
#from simple_video_sample import sample
|
25 |
|
26 |
num_frames = 25
|
27 |
num_steps = 30
|
|
|
45 |
print(output_folder)
|
46 |
print(version)
|
47 |
print(input_path)
|
48 |
+
os.subprocess(f"python simple_video_sample.py --input_path {input_path} --version svd_xt --output_folder {output_folder} --decoding_t 7")
|
49 |
+
#sample(input_path, version=version, output_folder=output_folder, decoding_t=decoding_t)
|
50 |
return f"{output_folder}/000000.mp4"
|
51 |
|
52 |
def get_unique_embedder_keys_from_conditioner(conditioner):
|