summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-11-21 14:05:50 +0100
committerGitHub <noreply@github.com>2024-11-21 14:05:50 +0100
commite4bfd9db5cb6f8cc3c562519633eff2018236240 (patch)
tree647aef84b6705f51a110e79d401b7a2a1871b92b /README.md
parentMerge pull request #2396 from hlohaus/open (diff)
downloadgpt4free-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.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index cfaaadc0..4f61d791 100644
--- a/README.md
+++ b/README.md
@@ -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:**