Spaces:
Running
Running
abrar-adnan
commited on
Commit
•
90452ba
1
Parent(s):
7379cf2
audio wav
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def video_processing(video_file, encoded_video):
|
|
45 |
|
46 |
start_time = time.time()
|
47 |
|
48 |
-
subprocess.call(["ffmpeg", "-i", '
|
49 |
waveform, sample_rate = torchaudio.load("audio.wav")
|
50 |
waveform, sample_rate
|
51 |
|
|
|
45 |
|
46 |
start_time = time.time()
|
47 |
|
48 |
+
subprocess.call(["ffmpeg", "-i", 'temp_video.mp4', "audio.wav"])
|
49 |
waveform, sample_rate = torchaudio.load("audio.wav")
|
50 |
waveform, sample_rate
|
51 |
|