Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,12 +68,12 @@ def calculate_resolution(input_width, input_height, min_dimension=480, max_dimen
|
|
| 68 |
def process_video(
|
| 69 |
video_path,
|
| 70 |
prompt,
|
| 71 |
-
negative_prompt,
|
| 72 |
-
num_frames,
|
| 73 |
-
auto_resize,
|
| 74 |
-
manual_height,
|
| 75 |
-
manual_width,
|
| 76 |
-
guidance_scale,
|
| 77 |
progress=gr.Progress(track_tqdm=True)
|
| 78 |
):
|
| 79 |
# Load and preprocess video
|
|
|
|
| 68 |
def process_video(
|
| 69 |
video_path,
|
| 70 |
prompt,
|
| 71 |
+
negative_prompt="",
|
| 72 |
+
num_frames=81,
|
| 73 |
+
auto_resize=True,
|
| 74 |
+
manual_height=480,
|
| 75 |
+
manual_width=832,
|
| 76 |
+
guidance_scale=5,
|
| 77 |
progress=gr.Progress(track_tqdm=True)
|
| 78 |
):
|
| 79 |
# Load and preprocess video
|