Spaces:
Runtime error
Runtime error
Commit
·
2e0c479
1
Parent(s):
1f839cc
Update app.py
Browse files
app.py
CHANGED
@@ -141,6 +141,7 @@ def AudioTranscribe(NumberOfSpeakers=None, SpeakerNames="", audio="", retries=5)
|
|
141 |
def VideoTranscribe(NumberOfSpeakers=None, SpeakerNames="", video="", retries=5):
|
142 |
if retries:
|
143 |
command = f"ffmpeg -i {video} -ab 160k -ac 2 -ar 44100 -vn temp_audio.wav"
|
|
|
144 |
# try:
|
145 |
# command = f"ffmpeg -i {video} -ab 160k -ac 2 -ar 44100 -vn temp_audio.wav"
|
146 |
# subprocess.call(command, shell=True)
|
|
|
141 |
def VideoTranscribe(NumberOfSpeakers=None, SpeakerNames="", video="", retries=5):
|
142 |
if retries:
|
143 |
command = f"ffmpeg -i {video} -ab 160k -ac 2 -ar 44100 -vn temp_audio.wav"
|
144 |
+
subprocess.call(command, shell=True)
|
145 |
# try:
|
146 |
# command = f"ffmpeg -i {video} -ab 160k -ac 2 -ar 44100 -vn temp_audio.wav"
|
147 |
# subprocess.call(command, shell=True)
|