diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-11-21 14:05:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-21 14:05:50 +0100 |
commit | e4bfd9db5cb6f8cc3c562519633eff2018236240 (patch) | |
tree | 647aef84b6705f51a110e79d401b7a2a1871b92b /README.md | |
parent | Merge pull request #2396 from hlohaus/open (diff) | |
download | gpt4free-e4bfd9db5cb6f8cc3c562519633eff2018236240.tar gpt4free-e4bfd9db5cb6f8cc3c562519633eff2018236240.tar.gz gpt4free-e4bfd9db5cb6f8cc3c562519633eff2018236240.tar.bz2 gpt4free-e4bfd9db5cb6f8cc3c562519633eff2018236240.tar.lz gpt4free-e4bfd9db5cb6f8cc3c562519633eff2018236240.tar.xz gpt4free-e4bfd9db5cb6f8cc3c562519633eff2018236240.tar.zst gpt4free-e4bfd9db5cb6f8cc3c562519633eff2018236240.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -105,15 +105,18 @@ docker run \ hlohaus789/g4f:latest ``` -Or run this command to start the gui without a browser and in the debug mode: +Start the GUI without a browser requirement and in debug mode. +There's no need to update the Docker image every time. +Simply remove the g4f package from the image and install the Python package: ```bash -docker pull hlohaus789/g4f:latest-slim docker run \ -p 8080:8080 \ -v ${PWD}/har_and_cookies:/app/har_and_cookies \ -v ${PWD}/generated_images:/app/generated_images \ hlohaus789/g4f:latest-slim \ - python -m g4f.cli gui -debug + rm -r -f /app/g4f/ \ + && pip install -U g4f[slim] \ + && python -m g4f.cli gui -d ``` 3. **Access the Client:** |