ParthCodes commited on
Commit
9e75130
·
verified ·
1 Parent(s): e04db27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def analyze_sentiment(text):
50
 
51
 
52
  def video_to_audio(input_video):
53
- audio = AudioSegment.from_file('test_video_1.mp4')
54
  audio_binary = audio.export(format="wav").read()
55
  audio_bytesio = BytesIO(audio_binary)
56
 
 
50
 
51
 
52
  def video_to_audio(input_video):
53
+ audio = AudioSegment.from_file(input_video)
54
  audio_binary = audio.export(format="wav").read()
55
  audio_bytesio = BytesIO(audio_binary)
56