Merge pull request #1485 from Eikosa/patch-3

Web UI Instructions, Update README.md
This commit is contained in:
H Lohaus 2024-01-21 00:49:36 +01:00 committed by GitHub
commit e1c2538c3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -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