JaMugen commited on
Commit
2eb2ca3
·
1 Parent(s): 0d79804

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ def install_libraries():
5
  try:
6
  subprocess.check_call(['pip', 'install', 'pytube'])
7
  subprocess.check_call(['pip', 'install', 'youtube_transcript_api'])
 
8
  print("Libraries installed successfully!")
9
  except subprocess.CalledProcessError as e:
10
  print("Error during installation:", e)
 
5
  try:
6
  subprocess.check_call(['pip', 'install', 'pytube'])
7
  subprocess.check_call(['pip', 'install', 'youtube_transcript_api'])
8
+ subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'transformers'])
9
  print("Libraries installed successfully!")
10
  except subprocess.CalledProcessError as e:
11
  print("Error during installation:", e)