add pexels.proxies

This commit is contained in:
harry
2024-03-16 09:29:31 +08:00
parent d8b3a1af49
commit 753ec011d8
3 changed files with 17 additions and 5 deletions

View File

@@ -50,4 +50,13 @@
model_size="large-v3"
# if you want to use GPU, set device="cuda"
device="CPU"
compute_type="int8"
compute_type="int8"
[pexels]
[pexels.proxies]
### Use a proxy to access the Pexels API
### Format: "http://<username>:<password>@<proxy>:<port>"
### Example: "http://user:pass@proxy:1234"
### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies
# http = "http://10.10.1.10:3128"
# https = "http://10.10.1.10:1080"