towing commited on
Commit
2817d72
·
verified ·
1 Parent(s): 2e88e55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ import json
5
  import torch
6
  from huggingface_hub import hf_hub_download
7
 
8
- model_weights_path = hf_hub_download(repo_id="df-h/byt5-base-alibi-mt", filename="pytorch_model.bin")
9
- model_config_path = hf_hub_download(repo_id="df-h/byt5-base-alibi-mt", filename="config.json")
10
 
11
  def translate(inputs):
12
  with open(model_config_path, 'r') as f:
 
5
  import torch
6
  from huggingface_hub import hf_hub_download
7
 
8
+ model_weights_path = hf_hub_download(repo_id="towing/byt5-base-alibi-mt", filename="pytorch_model.bin")
9
+ model_config_path = hf_hub_download(repo_id="towing/byt5-base-alibi-mt", filename="config.json")
10
 
11
  def translate(inputs):
12
  with open(model_config_path, 'r') as f: