Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -376,9 +376,6 @@ def gradio_process_media(input_media, resolution, num_inference_steps, strength,
|
|
376 |
|
377 |
print(f"File path: {file_path}")
|
378 |
|
379 |
-
# Ensure models are loaded
|
380 |
-
model_manager.load_models(progress)
|
381 |
-
|
382 |
# Check if the file is a video
|
383 |
video_extensions = ('.mp4', '.avi', '.mov', '.mkv')
|
384 |
if file_path.lower().endswith(video_extensions):
|
|
|
376 |
|
377 |
print(f"File path: {file_path}")
|
378 |
|
|
|
|
|
|
|
379 |
# Check if the file is a video
|
380 |
video_extensions = ('.mp4', '.avi', '.mov', '.mkv')
|
381 |
if file_path.lower().endswith(video_extensions):
|