Vihang28 commited on
Commit
e89d2ab
·
verified ·
1 Parent(s): 4a54529

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def api_calling(audio_file, prompt, api_key):
82
 
83
 
84
  def message_and_history(audio_text,input, history, api_key):
85
- video = VideoFileClip(mp4_file)
86
  audio = video.audio
87
  audio.write_audiofile(mp3_file)
88
  history = history or []
 
82
 
83
 
84
  def message_and_history(audio_text,input, history, api_key):
85
+ video = audio_text
86
  audio = video.audio
87
  audio.write_audiofile(mp3_file)
88
  history = history or []