PierreHanna commited on
Commit
34e71ad
Β·
1 Parent(s): 8187cc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,11 +12,11 @@ import datetime
12
 
13
  from huggingface_hub import hf_hub_download
14
  file_path = hf_hub_download(repo_id="PierreHanna/TextRetrieval", repo_type="space", filename="encoder_text_retrievaltext_bmg_221022_54.h5",
15
- use_auth_token="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")
 
 
16
 
17
 
18
- #use_auth_token=os.environ['TOKEN'])
19
-
20
  # NO GPU
21
  os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
22
  os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
 
12
 
13
  from huggingface_hub import hf_hub_download
14
  file_path = hf_hub_download(repo_id="PierreHanna/TextRetrieval", repo_type="space", filename="encoder_text_retrievaltext_bmg_221022_54.h5",
15
+ use_auth_token=os.environ['TOKEN'])
16
+
17
+ #use_auth_token="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")
18
 
19
 
 
 
20
  # NO GPU
21
  os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
22
  os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'