Spaces:
Sleeping
Sleeping
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 = "
|
13 |
retVal = subprocess.check_output(command2)
|
14 |
return retVal
|
15 |
demo = gr.Interface(fn=outputProducer,
|
|
|
9 |
print(inputVideo)
|
10 |
input_file = ffmpeg.input(inputVideo)
|
11 |
input_file.output('audio.mp3', acodec='mp3').run()
|
12 |
+
command2 = "whisper audio.mp3"
|
13 |
retVal = subprocess.check_output(command2)
|
14 |
return retVal
|
15 |
demo = gr.Interface(fn=outputProducer,
|