Kumarkishalaya
commited on
Commit
•
014f2b7
1
Parent(s):
f172fd9
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ import numpy as np
|
|
13 |
|
14 |
model_name = "Helsinki-NLP/opus-mt-en-hi"
|
15 |
|
16 |
-
|
17 |
-
|
18 |
|
19 |
|
20 |
|
|
|
13 |
|
14 |
model_name = "Helsinki-NLP/opus-mt-en-hi"
|
15 |
|
16 |
+
model_base_nmt = MarianMTModel.from_pretrained(model_name)
|
17 |
+
tokenizer_base_nmt = AutoTokenizer.from_pretrained(model_name)
|
18 |
|
19 |
|
20 |
|