From 9b9039de92f8280e8dcc320f63d704d8b1ac336d Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Fri, 13 Dec 2024 18:54:51 +0800 Subject: [PATCH] Fix connection error for adding visual llm. (#4028) ### What problem does this PR solve? #3897 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- 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 7e59493cb..5053aebc6 100644 --- a/api/apps/llm_app.py +++ b/api/apps/llm_app.py @@ -255,9 +255,7 @@ def add_llm(): ) 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: