Nidhal Baccouri
commited on
Commit
·
bd52cd0
1
Parent(s):
3dcf81b
fixed readme
Browse files- docs/README.rst +6 -0
docs/README.rst
CHANGED
|
@@ -574,11 +574,17 @@ Microsoft Translator
|
|
| 574 |
ChatGpt Translator
|
| 575 |
---------------------
|
| 576 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 577 |
.. note::
|
| 578 |
|
| 579 |
You need to require an **api key** if you want to use the ChatGpt translator.
|
| 580 |
If you have an openai account, you can create an api key (https://platform.openai.com/account/api-keys).
|
| 581 |
|
|
|
|
|
|
|
| 582 |
- Required and optional attributes
|
| 583 |
|
| 584 |
There are two required attributes, namely "api_key" (string) and "target" (string or list).
|
|
|
|
| 574 |
ChatGpt Translator
|
| 575 |
---------------------
|
| 576 |
|
| 577 |
+
.. note::
|
| 578 |
+
|
| 579 |
+
You need to install the openai support extra. `pip install deep-translator[ai]`
|
| 580 |
+
|
| 581 |
.. note::
|
| 582 |
|
| 583 |
You need to require an **api key** if you want to use the ChatGpt translator.
|
| 584 |
If you have an openai account, you can create an api key (https://platform.openai.com/account/api-keys).
|
| 585 |
|
| 586 |
+
|
| 587 |
+
|
| 588 |
- Required and optional attributes
|
| 589 |
|
| 590 |
There are two required attributes, namely "api_key" (string) and "target" (string or list).
|