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