ervau commited on
Commit
ad58301
·
1 Parent(s): 9319513

update knowledge graph download URL

Browse files
Files changed (2) hide show
  1. ProtHGT_app.py +1 -1
  2. run_prothgt_app.py +1 -1
ProtHGT_app.py CHANGED
@@ -24,7 +24,7 @@ from ui import GITHUB_URL, KG_VIEW_GUIDE, STRICTNESS, render_header, render_step
24
  MAX_PROTEINS = 100
25
  MAX_KG_VIZ_PROTEINS = 10
26
  SEARCH_LIMIT = 50
27
- KG_DOWNLOAD_URL = "https://huggingface.co/datasets/HUBioDataLab/ProtHGT/blob/main/knowledge_graphs/prothgt-kg.pt"
28
 
29
  ASPECTS = {
30
  "GO_term_F": ("Molecular function", "What the protein does at the molecular level, e.g. binding or catalysis."),
 
24
  MAX_PROTEINS = 100
25
  MAX_KG_VIZ_PROTEINS = 10
26
  SEARCH_LIMIT = 50
27
+ KG_DOWNLOAD_URL = "https://huggingface.co/datasets/HUBioDataLab/ProtHGT/blob/main/knowledge_graphs/go/prothgt-kg.pt"
28
 
29
  ASPECTS = {
30
  "GO_term_F": ("Molecular function", "What the protein does at the molecular level, e.g. binding or catalysis."),
run_prothgt_app.py CHANGED
@@ -86,7 +86,7 @@ def load_kg(output=KG_PATH):
86
  try:
87
  cached_path = hf_hub_download(
88
  repo_id="HUBioDataLab/ProtHGT",
89
- filename="knowledge_graphs/prothgt-kg.pt",
90
  repo_type="dataset",
91
  )
92
  os.makedirs(os.path.dirname(output), exist_ok=True)
 
86
  try:
87
  cached_path = hf_hub_download(
88
  repo_id="HUBioDataLab/ProtHGT",
89
+ filename="knowledge_graphs/go/prothgt-kg.pt",
90
  repo_type="dataset",
91
  )
92
  os.makedirs(os.path.dirname(output), exist_ok=True)