Spaces:
Sleeping
Sleeping
Update docs/Translator/API.md
Browse files- docs/Translator/API.md +5 -1
docs/Translator/API.md
CHANGED
|
@@ -38,6 +38,8 @@ print(result)
|
|
| 38 |
**Return Type(s):**
|
| 39 |
|
| 40 |
- A `str` representing the translated text output in the 'output' Textbox component.
|
|
|
|
|
|
|
| 41 |
|
| 42 |
## JavaScript Usage
|
| 43 |
|
|
@@ -70,4 +72,6 @@ console.log(result.data);
|
|
| 70 |
|
| 71 |
**Return Type(s):**
|
| 72 |
|
| 73 |
-
- A `string` representing the translated text output in the 'output' Textbox component.
|
|
|
|
|
|
|
|
|
| 38 |
**Return Type(s):**
|
| 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 fr to aa: Helsinki-NLP/opus-mt-fr-aa 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=`', its because the language is not available.
|
| 43 |
|
| 44 |
## JavaScript Usage
|
| 45 |
|
|
|
|
| 72 |
|
| 73 |
**Return Type(s):**
|
| 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 fr to aa: Helsinki-NLP/opus-mt-fr-aa 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=`', its because the language is not available.
|