Spaces:
Sleeping
Sleeping
Dhahlan2000
commited on
Commit
•
36c2d7f
1
Parent(s):
5cbe369
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ pipe = pipeline("translation", model="thilina/mt5-sinhalese-english")
|
|
27 |
sin_trans_model = AutoModelForSeq2SeqLM.from_pretrained("thilina/mt5-sinhalese-english")
|
28 |
si_trans_tokenizer = AutoTokenizer.from_pretrained("thilina/mt5-sinhalese-english")
|
29 |
|
30 |
-
singlish_pipe = pipeline("text2text-generation", model="Dhahlan2000/Simple_Translation-model-for-GPT-
|
31 |
|
32 |
# Translation functions
|
33 |
def translate_Singlish_to_sinhala(text):
|
|
|
27 |
sin_trans_model = AutoModelForSeq2SeqLM.from_pretrained("thilina/mt5-sinhalese-english")
|
28 |
si_trans_tokenizer = AutoTokenizer.from_pretrained("thilina/mt5-sinhalese-english")
|
29 |
|
30 |
+
singlish_pipe = pipeline("text2text-generation", model="Dhahlan2000/Simple_Translation-model-for-GPT-v15")
|
31 |
|
32 |
# Translation functions
|
33 |
def translate_Singlish_to_sinhala(text):
|