edaiofficial commited on
Commit
d6133a5
1 Parent(s): d0cd77d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ language_map = {'English':'en','Swahili':'sw','Fon':'fon','Igbo':'ig',
10
  available_languages = list(language_map.keys())
11
 
12
  # Load parameters and model from checkpoint
13
- checkpoint = hf_hub_download(repo_id="edaiofficial/mmtafrica_base", filename="mmt_translation.pt")
14
  device = 'gpu' if torch.cuda.is_available() else 'cpu'
15
  params = load_params({'checkpoint':checkpoint,'device':device})
16
 
 
10
  available_languages = list(language_map.keys())
11
 
12
  # Load parameters and model from checkpoint
13
+ checkpoint = hf_hub_download(repo_id="chrisjay/mmtafrica", filename="mmt_translation.pt")
14
  device = 'gpu' if torch.cuda.is_available() else 'cpu'
15
  params = load_params({'checkpoint':checkpoint,'device':device})
16