Spaces:
Sleeping
Sleeping
eternalBlissard
commited on
Update app.py
Browse files
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
|
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:
|