mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
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)
This commit is contained in:
@ -255,9 +255,7 @@ def add_llm():
|
|||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
img_url = (
|
img_url = (
|
||||||
"https://upload.wikimedia.org/wikipedia/comm"
|
"https://www.8848seo.cn/zb_users/upload/2022/07/20220705101240_99378.jpg"
|
||||||
"ons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/256"
|
|
||||||
"0px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
|
|
||||||
)
|
)
|
||||||
res = requests.get(img_url)
|
res = requests.get(img_url)
|
||||||
if res.status_code == 200:
|
if res.status_code == 200:
|
||||||
|
|||||||
Reference in New Issue
Block a user