XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

style(g4f/gui/server/api.py): update inline comments for URL processing

d3d3bc9c
kqlio67 <kqlio67@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/gui/server/api.py +1 -1
@@ -209,7 +209,7 @@ class Api():
209 209 else:
210 210 return None
211 211 else:
212 # Обробка звичайної URL-адреси
212 # Processing a regular URL
213 213 async with session.get(image) as response:
214 214 target = os.path.join(images_dir, f"{int(time.time())}_{str(uuid.uuid4())}")
215 215 with open(target, "wb") as f: