PierreHanna commited on
Commit
9428738
Β·
1 Parent(s): 3f3e56a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,8 +25,8 @@ python_path = hf_hub_download(repo_id="PierreHanna/TextRetrieval", repo_type="sp
25
  use_auth_token=os.environ['TOKEN'], cache_dir="./ph")
26
  print(python_path)
27
  os.system('ls -la')
28
- from models import *
29
-
30
 
31
  def make_preprocess_model(sentence_features, tfhub_handle_preprocess, seq_length=128):
32
  """Returns Model mapping string features to BERT inputs.
 
25
  use_auth_token=os.environ['TOKEN'], cache_dir="./ph")
26
  print(python_path)
27
  os.system('ls -la')
28
+ #from models import *
29
+ from ph.spaces--PierreHanna--TextRetrieval.snapshots.ee43bbe093de2cd1b2fbda7c04d00ed4d360d730.models import *
30
 
31
  def make_preprocess_model(sentence_features, tfhub_handle_preprocess, seq_length=128):
32
  """Returns Model mapping string features to BERT inputs.