From 8831e440018bc1cb1cc954c2e215270dcb70ec57 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Fri, 13 Dec 2024 18:10:16 +0800 Subject: [PATCH] Fix connection error for adding visual llm. --- api/apps/llm_app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/apps/llm_app.py b/api/apps/llm_app.py index 7e59493cb3..5053aebc66 100644 --- a/api/apps/llm_app.py +++ b/api/apps/llm_app.py @@ -255,9 +255,7 @@ def apikey_json(keys): ) try: img_url = ( - "https://upload.wikimedia.org/wikipedia/comm" - "ons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/256" - "0px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg" + "https://www.8848seo.cn/zb_users/upload/2022/07/20220705101240_99378.jpg" ) res = requests.get(img_url) if res.status_code == 200: