dailingx commited on
Commit
d061491
·
verified ·
1 Parent(s): 434c3b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -3,7 +3,9 @@ os.system('pip uninstall vidfetch -y')
3
  os.system('pip install -U https://github.com/dailingx/VidFetch/archive/master.zip')
4
  os.system('pip install --upgrade google-api-python-client')
5
  os.system('pip install pandas')
6
- os.system('pip install youtube-dl')
 
 
7
 
8
  import sys
9
  import gradio as gr
 
3
  os.system('pip install -U https://github.com/dailingx/VidFetch/archive/master.zip')
4
  os.system('pip install --upgrade google-api-python-client')
5
  os.system('pip install pandas')
6
+ # os.system('pip install youtube-dl')
7
+ os.system('sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl')
8
+ os.system('sudo chmod a+rx /usr/local/bin/youtube-dl')
9
 
10
  import sys
11
  import gradio as gr