Spaces:
Runtime error
Runtime error
Commit Β·
d20ff01
1
Parent(s): 7c1d20a
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ python_path = hf_hub_download(repo_id='PierreHanna/TextRetrieval', repo_type="sp
|
|
| 27 |
# use_auth_token=os.environ['TOKEN'])
|
| 28 |
print(python_path)
|
| 29 |
#sys.path.append(os.environ['PRIVATE_DIR'])
|
| 30 |
-
from models import *
|
| 31 |
|
| 32 |
def download_audio_(link):
|
| 33 |
with yt_dlp.YoutubeDL({'extract_audio': True, 'format': 'bestaudio', 'outtmpl': '%(title)s.mp3'}) as video:
|
|
|
|
| 27 |
# use_auth_token=os.environ['TOKEN'])
|
| 28 |
print(python_path)
|
| 29 |
#sys.path.append(os.environ['PRIVATE_DIR'])
|
| 30 |
+
#from models import *
|
| 31 |
|
| 32 |
def download_audio_(link):
|
| 33 |
with yt_dlp.YoutubeDL({'extract_audio': True, 'format': 'bestaudio', 'outtmpl': '%(title)s.mp3'}) as video:
|