Liusuthu commited on
Commit
c14f75f
Β·
verified Β·
1 Parent(s): 2455fea

Update app_utils.py

Browse files
Files changed (1) hide show
  1. app_utils.py +1 -1
app_utils.py CHANGED
@@ -403,7 +403,7 @@ def video_score(video):
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ζ˜―ιžζŠ‘ιƒζ¦‚ηŽ‡
409
  score2=10*prob2[0]-10*prob[1]
 
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ζ˜―ιžζŠ‘ιƒζ¦‚ηŽ‡
409
  score2=10*prob2[0]-10*prob[1]