|
|
|
@ -37,6 +37,7 @@ docker pull hlohaus789/g4f
|
|
|
|
|
- [Install using pypi](#install-using-pypi)
|
|
|
|
|
+ [Docker for Developers](#docker-for-developers)
|
|
|
|
|
- [💡 Usage](#-usage)
|
|
|
|
|
* [The Web UI](#the-web-ui)
|
|
|
|
|
* [The `g4f` Package](#the-g4f-package)
|
|
|
|
|
+ [ChatCompletion](#chatcompletion)
|
|
|
|
|
- [Completion](#completion)
|
|
|
|
@ -182,6 +183,14 @@ docker-compose down
|
|
|
|
|
|
|
|
|
|
## 💡 Usage
|
|
|
|
|
|
|
|
|
|
### The Web UI
|
|
|
|
|
|
|
|
|
|
To use it in the web interface, type the following codes in the command line.
|
|
|
|
|
```python3
|
|
|
|
|
from g4f.gui import run_gui
|
|
|
|
|
run_gui()
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### The `g4f` Package
|
|
|
|
|
|
|
|
|
|
#### ChatCompletion
|
|
|
|
|