summaryrefslogtreecommitdiffstats
path: root/g4f/gui/server/api.py
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-11 21:28:17 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-11 21:28:17 +0200
commitd3d3bc9c148693754243fdcad5a0b258339a0790 (patch)
treea8f2e5ffce309f69ed1e4b3b38aa77aa8d22aebf /g4f/gui/server/api.py
parentfeat(g4f/models.py): Added new model 'ChatifyAI' and 'Cloudflare' to the default model's best provider list for broader provider options. (diff)
downloadgpt4free-d3d3bc9c148693754243fdcad5a0b258339a0790.tar
gpt4free-d3d3bc9c148693754243fdcad5a0b258339a0790.tar.gz
gpt4free-d3d3bc9c148693754243fdcad5a0b258339a0790.tar.bz2
gpt4free-d3d3bc9c148693754243fdcad5a0b258339a0790.tar.lz
gpt4free-d3d3bc9c148693754243fdcad5a0b258339a0790.tar.xz
gpt4free-d3d3bc9c148693754243fdcad5a0b258339a0790.tar.zst
gpt4free-d3d3bc9c148693754243fdcad5a0b258339a0790.zip
Diffstat (limited to '')
-rw-r--r--g4f/gui/server/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/gui/server/api.py b/g4f/gui/server/api.py
index c984abec..bb5d0b5a 100644
--- a/g4f/gui/server/api.py
+++ b/g4f/gui/server/api.py
@@ -209,7 +209,7 @@ class Api():
else:
return None
else:
- # Обробка звичайної URL-адреси
+ # Processing a regular URL
async with session.get(image) as response:
target = os.path.join(images_dir, f"{int(time.time())}_{str(uuid.uuid4())}")
with open(target, "wb") as f: