From d3d3bc9c148693754243fdcad5a0b258339a0790 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Fri, 11 Oct 2024 22:28:17 +0300 Subject: style(g4f/gui/server/api.py): update inline comments for URL processing --- g4f/gui/server/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/gui/server') 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: -- cgit v1.2.3