Spaces:
Build error
Build error
Commit ·
ee994fc
1
Parent(s): 999aa65
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,11 +22,11 @@ os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
|
| 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 |
-
python_path = hf_hub_download(repo_id='PierreHanna/AudioSimilarity', repo_type="space", filename=os.environ['MODEL_FILE'],
|
| 26 |
-
use_auth_token=os.environ['TOKEN'])
|
| 27 |
-
|
| 28 |
-
#python_path = hf_hub_download(repo_id=os.environ['REPO_ID'], repo_type="space", filename=os.environ['MODEL_FILE'],
|
| 29 |
# use_auth_token=os.environ['TOKEN'])
|
|
|
|
|
|
|
|
|
|
| 30 |
print(python_path)
|
| 31 |
sys.path.append(os.environ['PRIVATE_DIR'])
|
| 32 |
from models import *
|
|
|
|
| 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 |
+
#python_path = hf_hub_download(repo_id='PierreHanna/AudioSimilarity', repo_type="space", filename=os.environ['MODEL_FILE'],
|
|
|
|
|
|
|
|
|
|
| 26 |
# use_auth_token=os.environ['TOKEN'])
|
| 27 |
+
|
| 28 |
+
python_path = hf_hub_download(repo_id=os.environ['REPO_ID'], repo_type="space", filename=os.environ['MODEL_FILE'],
|
| 29 |
+
use_auth_token=os.environ['TOKEN'])
|
| 30 |
print(python_path)
|
| 31 |
sys.path.append(os.environ['PRIVATE_DIR'])
|
| 32 |
from models import *
|