dipesh1701
commited on
Commit
·
5cac2b1
1
Parent(s):
ccf30c7
bug fix
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ model_dict = load_models()
|
|
28 |
|
29 |
# Translate text using preloaded models and tokenizers
|
30 |
def translate_text(source, target, text):
|
31 |
-
model_name = "nllb-distilled-
|
32 |
|
33 |
if model_name in model_dict and model_dict[model_name]["model"] is not None:
|
34 |
model = model_dict[model_name]["model"]
|
|
|
28 |
|
29 |
# Translate text using preloaded models and tokenizers
|
30 |
def translate_text(source, target, text):
|
31 |
+
model_name = "nllb-distilled-1.3B"
|
32 |
|
33 |
if model_name in model_dict and model_dict[model_name]["model"] is not None:
|
34 |
model = model_dict[model_name]["model"]
|