Spaces:
Runtime error
Runtime error
Harveenchadha
commited on
Commit
•
3a2b18b
1
Parent(s):
ba7ff5e
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ indic2en_model = Model(expdir='indic-en')
|
|
23 |
en2indic_model = Model(expdir='en-indic')
|
24 |
indic2indic_model = Model(expdir='m2m')
|
25 |
|
26 |
-
INDIC = {"Assamese": "as", "Bengali": "bn", "Gujarati": "gu", "Hindi": "hi","Kannada": "kn","Malayalam": "ml", "Marathi": "mr", "Odia": "or","Punjabi": "pa","Tamil": "ta", "Telugu" : "te"
|
27 |
|
28 |
|
29 |
def translate(text, source_lang, dest_lang):
|
|
|
23 |
en2indic_model = Model(expdir='en-indic')
|
24 |
indic2indic_model = Model(expdir='m2m')
|
25 |
|
26 |
+
INDIC = {"English": "en", "Assamese": "as", "Bengali": "bn", "Gujarati": "gu", "Hindi": "hi","Kannada": "kn","Malayalam": "ml", "Marathi": "mr", "Odia": "or","Punjabi": "pa","Tamil": "ta", "Telugu" : "te" }
|
27 |
|
28 |
|
29 |
def translate(text, source_lang, dest_lang):
|