summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-09-04 21:31:00 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-09-04 21:31:00 +0200
commit55e55d77a274aa034bab617e3be8e9d2ca329034 (patch)
tree69080e6e080c1f1daef44b2f7190dd24e741c115
parentfeat(Nexra): add image generation support (diff)
downloadgpt4free-55e55d77a274aa034bab617e3be8e9d2ca329034.tar
gpt4free-55e55d77a274aa034bab617e3be8e9d2ca329034.tar.gz
gpt4free-55e55d77a274aa034bab617e3be8e9d2ca329034.tar.bz2
gpt4free-55e55d77a274aa034bab617e3be8e9d2ca329034.tar.lz
gpt4free-55e55d77a274aa034bab617e3be8e9d2ca329034.tar.xz
gpt4free-55e55d77a274aa034bab617e3be8e9d2ca329034.tar.zst
gpt4free-55e55d77a274aa034bab617e3be8e9d2ca329034.zip
-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 78b41357..c984abec 100644
--- a/g4f/gui/server/api.py
+++ b/g4f/gui/server/api.py
@@ -197,7 +197,7 @@ class Api():
) as session:
async def copy_image(image):
if image.startswith("data:"):
- # Обробка URL-адреси даних
+ # Processing the data URL
data_uri_parts = image.split(",")
if len(data_uri_parts) == 2:
content_type, base64_data = data_uri_parts