imseldrith commited on
Commit
dc2c482
1 Parent(s): 5d9f90a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -30,20 +30,20 @@ def run(*args):
30
  f"--face-analyser-direction {face_analyser_direction} "
31
  )
32
  if face_recognition != 'none':
33
- cmd += f" --face-recognition {face_recognition}"
34
  if face_analyser_gender != 'none':
35
- cmd += f" --face-analyser-gender {face_analyser_gender}"
36
 
37
  if len(rest_args) > 4:
38
  skip_audio = rest_args[4]
39
  keep_fps = rest_args[5]
40
  keep_temp = rest_args[6]
41
  if skip_audio:
42
- cmd += " --skip-audio"
43
  if keep_fps:
44
- cmd += " --keep-fps"
45
  if keep_temp:
46
- cmd += " --keep-temp"
47
 
48
  try:
49
  print("Started...", cmd)
 
30
  f"--face-analyser-direction {face_analyser_direction} "
31
  )
32
  if face_recognition != 'none':
33
+ cmd += f"--face-recognition {face_recognition} "
34
  if face_analyser_gender != 'none':
35
+ cmd += f"--face-analyser-gender {face_analyser_gender} "
36
 
37
  if len(rest_args) > 4:
38
  skip_audio = rest_args[4]
39
  keep_fps = rest_args[5]
40
  keep_temp = rest_args[6]
41
  if skip_audio:
42
+ cmd += "--skip-audio "
43
  if keep_fps:
44
+ cmd += "--keep-fps "
45
  if keep_temp:
46
+ cmd += "--keep-temp "
47
 
48
  try:
49
  print("Started...", cmd)