fffiloni commited on
Commit
d7b4d16
β€’
1 Parent(s): b003bf2

differentiate commands

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- command = [
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(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)