Skip to content

Commit

Permalink
expansive update
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasHeOl committed Nov 5, 2023
1 parent 34deab5 commit 13af2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ablang/load_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def fetch_ablang1(chain, random_init=False, device='cpu'):
if not os.path.isfile(os.path.join(model_folder, "amodel.pt")):
print("Downloading model ...")

url = "http://opig.stats.ox.ac.uk/website/data/downloads/ablang-{}.tar.gz".format(chain)
url = "https://opig.stats.ox.ac.uk/data/downloads/ablang-{}.tar.gz".format(chain)
tmp_file = os.path.join(model_folder, "tmp.tar.gz")

with open(tmp_file,'wb') as f: f.write(requests.get(url).content)
Expand Down

0 comments on commit 13af2b9

Please sign in to comment.