Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ LANGUAGES = ['Akan', 'Arabic', ' Assamese', 'Bambara', 'Bengali', 'Catalan', 'En
|
|
| 9 |
'Kirundi', 'Kinyarwanda', 'Shona', 'Sotho', 'Swahili', 'Tamil', 'Telugu', 'Tswana', 'Tsonga', 'Twi', 'Urdu', 'Viêt Namese', 'Wolof', 'Xhosa',
|
| 10 |
'Yoruba', 'Chinese', 'Zulu']
|
| 11 |
|
| 12 |
-
API_URL = "https://api-inference.huggingface.co/models/bigscience/
|
| 13 |
|
| 14 |
|
| 15 |
def translate(output, text):
|
|
|
|
| 9 |
'Kirundi', 'Kinyarwanda', 'Shona', 'Sotho', 'Swahili', 'Tamil', 'Telugu', 'Tswana', 'Tsonga', 'Twi', 'Urdu', 'Viêt Namese', 'Wolof', 'Xhosa',
|
| 10 |
'Yoruba', 'Chinese', 'Zulu']
|
| 11 |
|
| 12 |
+
API_URL = "https://api-inference.huggingface.co/models/bigscience/bloomz-mt"
|
| 13 |
|
| 14 |
|
| 15 |
def translate(output, text):
|