Lenylvt commited on
Commit
ec78b4a
β€’
1 Parent(s): 691a440

Update docs/Translator/API.md

Browse files
Files changed (1) hide show
  1. docs/Translator/API.md +2 -2
docs/Translator/API.md CHANGED
@@ -39,7 +39,7 @@ print(result)
39
 
40
  - A `str` representing the translated text output in the 'output' Textbox component.
41
 
42
- πŸ”΄ If you have this error : '`Failed to load model for aa to ab: Helsinki-NLP/opus-mt-aa-ab is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>``', its because the language is not available.
43
 
44
  ## JavaScript Usage
45
 
@@ -74,4 +74,4 @@ console.log(result.data);
74
 
75
  - A `string` representing the translated text output in the 'output' Textbox component.
76
 
77
- πŸ”΄ If you have this error : '`Failed to load model for aa to ab: Helsinki-NLP/opus-mt-aa-ab is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>``', its because the language is not available.
 
39
 
40
  - A `str` representing the translated text output in the 'output' Textbox component.
41
 
42
+ πŸ”΄ **If you have this error** : 'Failed to load model for aa to ab: Helsinki-NLP/opus-mt-aa-ab is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>`', **its because the language is not available.**
43
 
44
  ## JavaScript Usage
45
 
 
74
 
75
  - A `string` representing the translated text output in the 'output' Textbox component.
76
 
77
+ πŸ”΄ **If you have this error** : 'Failed to load model for aa to ab: Helsinki-NLP/opus-mt-aa-ab is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>`', **its because the language is not available.**