Skip to content

Commit

Permalink
Fix connection error for adding visual llm.
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinHuSh committed Dec 13, 2024
1 parent 9b2ef62 commit 8831e44
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/apps/llm_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8831e44

Please sign in to comment.