From 127ef142a8aa58ff078e30c1079d34dc5033d995 Mon Sep 17 00:00:00 2001 From: glide-the <2533736852@qq.com> Date: Tue, 21 May 2024 14:25:41 +0800 Subject: [PATCH] get_img_base64 --- chatchat-server/chatchat/webui_pages/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/chatchat-server/chatchat/webui_pages/utils.py b/chatchat-server/chatchat/webui_pages/utils.py index 11d9edc7..47d60176 100644 --- a/chatchat-server/chatchat/webui_pages/utils.py +++ b/chatchat-server/chatchat/webui_pages/utils.py @@ -20,6 +20,7 @@ import httpx import contextlib import json import os +import base64 from io import BytesIO from chatchat.server.utils import set_httpx_config, api_address, get_httpx_client