kadirnar commited on
Commit
e4b4acb
1 Parent(s): 4ce3fcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -10,8 +10,13 @@ import subprocess
10
  def install_package(package):
11
  subprocess.check_call(['pip', 'install', package, '--no-build-isolation'])
12
 
 
 
 
 
13
  install_package('flash-attn')
14
 
 
15
  def youtube_url_to_text(url, model_id, language_choice):
16
  """
17
  Main function that downloads and converts a video to MP3 format, performs speech-to-text conversion using
 
10
  def install_package(package):
11
  subprocess.check_call(['pip', 'install', package, '--no-build-isolation'])
12
 
13
+ # Install wheel package first
14
+ install_package('wheel')
15
+
16
+ # Then install flash-attn
17
  install_package('flash-attn')
18
 
19
+
20
  def youtube_url_to_text(url, model_id, language_choice):
21
  """
22
  Main function that downloads and converts a video to MP3 format, performs speech-to-text conversion using