ambreshrc commited on
Commit
1c08945
1 Parent(s): da19018

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ else:
37
  dev = "cpu"
38
  device = torch.device(dev)
39
 
40
- mname = '/content/drive/MyDrive/Transformers Models/opus-mt-en-hi-Trans Model'
41
  tokenizer = MarianTokenizer.from_pretrained(mname)
42
  model = MarianMTModel.from_pretrained(mname)
43
  model.to(device)
 
37
  dev = "cpu"
38
  device = torch.device(dev)
39
 
40
+ mname = "Helsinki-NLP/opus-mt-en-hi"
41
  tokenizer = MarianTokenizer.from_pretrained(mname)
42
  model = MarianMTModel.from_pretrained(mname)
43
  model.to(device)