eternalBlissard commited on
Commit
3b5d1f6
·
verified ·
1 Parent(s): 09de3a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def outputProducer(inputVideo):
9
  print(inputVideo)
10
  input_file = ffmpeg.input(inputVideo)
11
  input_file.output('audio.mp3', acodec='mp3').run()
12
- command2 = "whisper ./audio.mp3"
13
  try:
14
  retVal = subprocess.check_output(command2)
15
  except:
 
9
  print(inputVideo)
10
  input_file = ffmpeg.input(inputVideo)
11
  input_file.output('audio.mp3', acodec='mp3').run()
12
+ command2 = ["whisper","./audio.mp3"]
13
  try:
14
  retVal = subprocess.check_output(command2)
15
  except: