Spaces:
Runtime error
Runtime error
Commit Β·
14cff74
1
Parent(s): 9022a9d
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
|
| 23 |
|
| 24 |
python_path = hf_hub_download(repo_id="PierreHanna/TextRetrieval", repo_type="space", filename="models.py",
|
| 25 |
use_auth_token=os.environ['TOKEN'], cache_dir="ph")
|
| 26 |
-
from ph.models import *
|
| 27 |
|
| 28 |
|
| 29 |
def make_preprocess_model(sentence_features, tfhub_handle_preprocess, seq_length=128):
|
|
|
|
| 23 |
|
| 24 |
python_path = hf_hub_download(repo_id="PierreHanna/TextRetrieval", repo_type="space", filename="models.py",
|
| 25 |
use_auth_token=os.environ['TOKEN'], cache_dir="ph")
|
| 26 |
+
from .ph.models import *
|
| 27 |
|
| 28 |
|
| 29 |
def make_preprocess_model(sentence_features, tfhub_handle_preprocess, seq_length=128):
|