Spaces:
Runtime error
Runtime error
differentiate commands
Browse files
app.py
CHANGED
@@ -233,7 +233,7 @@ def infer_auto(project_name, video_in, subject_to_remove):
|
|
233 |
needed_fps = int(video_frames[1])
|
234 |
|
235 |
|
236 |
-
|
237 |
f"python",
|
238 |
f"inference_propainter.py",
|
239 |
f"--video={video_frames_folder}",
|
@@ -242,7 +242,7 @@ def infer_auto(project_name, video_in, subject_to_remove):
|
|
242 |
f"--save_fps={int(needed_fps)}"
|
243 |
]
|
244 |
|
245 |
-
execute_command(
|
246 |
|
247 |
# Get the list of files in the "results" folder
|
248 |
result_files = os.listdir(output_folder)
|
|
|
233 |
needed_fps = int(video_frames[1])
|
234 |
|
235 |
|
236 |
+
command_auto= [
|
237 |
f"python",
|
238 |
f"inference_propainter.py",
|
239 |
f"--video={video_frames_folder}",
|
|
|
242 |
f"--save_fps={int(needed_fps)}"
|
243 |
]
|
244 |
|
245 |
+
execute_command(command_auto)
|
246 |
|
247 |
# Get the list of files in the "results" folder
|
248 |
result_files = os.listdir(output_folder)
|