Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def run_inference(prompt, video_path, condition, video_length):
|
|
66 |
chunk_path = f'chunk_{i}.mp4'
|
67 |
print(f"Chunk {i}: Frame Count = {frame_count}")
|
68 |
|
69 |
-
command = f"python inference.py --prompt '{prompt}' --condition '{condition}' --video_path
|
70 |
subprocess.run(command, shell=True)
|
71 |
|
72 |
# Construct the video path
|
|
|
66 |
chunk_path = f'chunk_{i}.mp4'
|
67 |
print(f"Chunk {i}: Frame Count = {frame_count}")
|
68 |
|
69 |
+
command = f"python inference.py --prompt '{prompt}' --condition '{condition}' --video_path 'chunk_{i}.mp4' --output_path '{output_path}' --video_length {frame_count}"
|
70 |
subprocess.run(command, shell=True)
|
71 |
|
72 |
# Construct the video path
|