PierreHanna commited on
Commit
036c24c
Β·
1 Parent(s): 446c108

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -20,14 +20,14 @@ os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
20
 
21
  # Cacher le nom du repo
22
 
23
- python_path = hf_hub_download(repo_id='PierreHanna/TextRetrieval', repo_type="space", filename='models.py',
24
  use_auth_token='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')
25
 
26
  #python_path = hf_hub_download(repo_id=os.environ['REPO_ID'], repo_type="space", filename=os.environ['MODEL_FILE'],
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:
 
20
 
21
  # Cacher le nom du repo
22
 
23
+ python_path = hf_hub_download(repo_id='PierreHanna/AudioSimilarity', repo_type="space", filename='models.py',
24
  use_auth_token='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')
25
 
26
  #python_path = hf_hub_download(repo_id=os.environ['REPO_ID'], repo_type="space", filename=os.environ['MODEL_FILE'],
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: