summaryrefslogtreecommitdiffstats
path: root/docs/requirements.md
blob: 7715a403348448effd4a1e01c7b1bd2d1ad040d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
### G4F - Additional Requirements

#### Introduction

You can install requirements partially or completely. So G4F can be used as you wish. You have the following options for this:

#### Options

Install required packages for the OpenaiChat provider:
```
pip install -U g4f[openai]
```
Install required packages for the interference api:
```
pip install -U g4f[api]
```
Install required packages for the web interface:
```
pip install -U g4f[gui]
```
Install required packages for uploading / generating images:
```
pip install -U g4f[image]
```
Install required packages for using the webdriver:
```
pip install -U g4f[webdriver]
```
Install required package for proxy support with aiohttp:
```
pip install -U aiohttp_socks
```
Install required package for loading cookies from browser:
```
pip install browser_cookie3
```
Install curl_cffi for better protection from being blocked:
```
pip install curl_cffi
```
Install all packages and uninstall this package for disabling the webdriver:
```
pip uninstall undetected-chromedriver
```

[Return to Home](/)