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:
parent
9b2ef62aee
commit
9b9039de92
1 changed files with 1 additions and 3 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue