Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
4 |
# Language pair to model mapping
|
5 |
model_mapping = {
|
6 |
("English", "Hindi"): "Helsinki-NLP/opus-mt-en-hi",
|
7 |
-
("Hindi", "English"): "
|
8 |
("English", "Telugu"): "harshitha2406/English_to_Telugu",
|
9 |
("Telugu", "English"): "ai4bharat/indic-translator-te-en",
|
10 |
}
|
|
|
4 |
# Language pair to model mapping
|
5 |
model_mapping = {
|
6 |
("English", "Hindi"): "Helsinki-NLP/opus-mt-en-hi",
|
7 |
+
("Hindi", "English"): "TestZee/Finetuned-hindi-to-english-V5",
|
8 |
("English", "Telugu"): "harshitha2406/English_to_Telugu",
|
9 |
("Telugu", "English"): "ai4bharat/indic-translator-te-en",
|
10 |
}
|