Spaces:
Runtime error
Runtime error
Update app_utils.py
Browse files- app_utils.py +2 -2
app_utils.py
CHANGED
@@ -401,8 +401,8 @@ def video_score(video):
|
|
401 |
|
402 |
#trans the audio file
|
403 |
my_audio_clip = AudioFileClip(video)
|
404 |
-
my_audio_clip.write_audiofile("data/audio.wav",ffmpeg_params=["-ac","1"])
|
405 |
-
|
406 |
# Audio="data/audio.wav"
|
407 |
# text,prob2,label,path=classify_continuous(Audio)
|
408 |
#0ζ―ζιζ¦ηοΌ1ζ―ιζιζ¦η
|
|
|
401 |
|
402 |
#trans the audio file
|
403 |
my_audio_clip = AudioFileClip(video)
|
404 |
+
my_audio_clip.write_audiofile("data/audio.wav",ffmpeg_params=["-ac","1"],buffersize=2000)
|
405 |
+
|
406 |
# Audio="data/audio.wav"
|
407 |
# text,prob2,label,path=classify_continuous(Audio)
|
408 |
#0ζ―ζιζ¦ηοΌ1ζ―ιζιζ¦η
|