diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-02-19 19:36:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 19:36:11 +0100 |
commit | f560bac9460e13c318190c0ec0e4e898b57998e5 (patch) | |
tree | 8365d89d6114fddfb55112bb2dc62b57971ab99f /docs/requirements.md | |
parent | Merge pull request #1598 from hlohaus/index (diff) | |
parent | Update readme / docs (diff) | |
download | gpt4free-f560bac9460e13c318190c0ec0e4e898b57998e5.tar gpt4free-f560bac9460e13c318190c0ec0e4e898b57998e5.tar.gz gpt4free-f560bac9460e13c318190c0ec0e4e898b57998e5.tar.bz2 gpt4free-f560bac9460e13c318190c0ec0e4e898b57998e5.tar.lz gpt4free-f560bac9460e13c318190c0ec0e4e898b57998e5.tar.xz gpt4free-f560bac9460e13c318190c0ec0e4e898b57998e5.tar.zst gpt4free-f560bac9460e13c318190c0ec0e4e898b57998e5.zip |
Diffstat (limited to '')
-rw-r--r-- | docs/requirements.md | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/requirements.md b/docs/requirements.md new file mode 100644 index 00000000..7715a403 --- /dev/null +++ b/docs/requirements.md @@ -0,0 +1,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](/)
\ No newline at end of file |