Spaces:
Runtime error
Runtime error
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/mt0-
|
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/mt0-small"
|
13 |
|
14 |
|
15 |
def translate(output, text):
|