Spaces:
Runtime error
Runtime error
Commit Β·
8f7a395
1
Parent(s): 7f55279
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ import csv
|
|
| 11 |
import datetime
|
| 12 |
|
| 13 |
from huggingface_hub import hf_hub_download
|
| 14 |
-
encoder_text_path = hf_hub_download(repo_id="PierreHanna/TextRetrieval", repo_type="space", filename=os.environ['
|
| 15 |
use_auth_token=os.environ['TOKEN'])
|
| 16 |
print("DEBUG ", encoder_text_path)
|
| 17 |
# NO GPU
|
|
|
|
| 11 |
import datetime
|
| 12 |
|
| 13 |
from huggingface_hub import hf_hub_download
|
| 14 |
+
encoder_text_path = hf_hub_download(repo_id="PierreHanna/TextRetrieval", repo_type="space", filename=os.environ['ENCODER_TEXT'],
|
| 15 |
use_auth_token=os.environ['TOKEN'])
|
| 16 |
print("DEBUG ", encoder_text_path)
|
| 17 |
# NO GPU
|