goldpulpy commited on
Commit
f1de88d
1 Parent(s): e9947e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ def predict(video, audio):
8
  audio_path = audio.name
9
  try:
10
  output_file = f"result/{random.randint(10,100000)}.mp4"
11
- command = ["python", "inference.py", "--face", video,
12
- "--audio", audio, "--outfile", output_file]
13
  subprocess.run(command, check=True)
14
  return output_file
15
  except: pass
 
8
  audio_path = audio.name
9
  try:
10
  output_file = f"result/{random.randint(10,100000)}.mp4"
11
+ command = ["python", "inference.py", "--face", video_path,
12
+ "--audio", audio_path, "--outfile", output_file]
13
  subprocess.run(command, check=True)
14
  return output_file
15
  except: pass