Jour commited on
Commit
8ff5dec
1 Parent(s): c44e09f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-small"
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):