Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def resize_video(input_file):
|
|
75 |
#final_video_resized = os.path.join(temp_output_path, 'video_resized.mp4')
|
76 |
test_w, test_h, fps, frame_count = get_video_dimension('video_resized.mp4')
|
77 |
print(f"resized clip dims : {test_w}, {test_h}, {fps}")
|
78 |
-
return 'video_resized.mp4', gr.update(maximum=frame_count)
|
79 |
|
80 |
def run_inference(prompt, video_path, condition, video_length):
|
81 |
|
|
|
75 |
#final_video_resized = os.path.join(temp_output_path, 'video_resized.mp4')
|
76 |
test_w, test_h, fps, frame_count = get_video_dimension('video_resized.mp4')
|
77 |
print(f"resized clip dims : {test_w}, {test_h}, {fps}")
|
78 |
+
return gr.update(visible=False), gr.update(value='video_resized.mp4', visible=True), gr.update(maximum=frame_count)
|
79 |
|
80 |
def run_inference(prompt, video_path, condition, video_length):
|
81 |
|