Spaces:
Sleeping
Sleeping
Update docs/SRT Translation/API.md
Browse files
docs/SRT Translation/API.md
CHANGED
|
@@ -39,6 +39,8 @@ print(result)
|
|
| 39 |
|
| 40 |
- A `filepath` representing the output in the '*Translated SRT*' File component.
|
| 41 |
|
|
|
|
|
|
|
| 42 |
## JavaScript Usage
|
| 43 |
|
| 44 |
### Step 1: Installation
|
|
@@ -73,4 +75,6 @@ console.log(result.data);
|
|
| 73 |
|
| 74 |
**Return Type(s):**
|
| 75 |
|
| 76 |
-
- `undefined` representing the output in the '*Translated SRT*' File component.
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
- A `filepath` representing the output in the '*Translated SRT*' File 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 |
|
| 46 |
### Step 1: Installation
|
|
|
|
| 75 |
|
| 76 |
**Return Type(s):**
|
| 77 |
|
| 78 |
+
- `undefined` representing the output in the '*Translated SRT*' File component.
|
| 79 |
+
|
| 80 |
+
π΄ 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.
|