Kevin Hu
commited on
Commit
·
a2e7afc
1
Parent(s):
dc3a38c
Fix connection error for adding visual llm. (#4028)
Browse files### 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 +1 -3
api/apps/llm_app.py
CHANGED
@@ -255,9 +255,7 @@ def add_llm():
|
|
255 |
)
|
256 |
try:
|
257 |
img_url = (
|
258 |
-
"https://
|
259 |
-
"ons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/256"
|
260 |
-
"0px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
|
261 |
)
|
262 |
res = requests.get(img_url)
|
263 |
if res.status_code == 200:
|
|
|
255 |
)
|
256 |
try:
|
257 |
img_url = (
|
258 |
+
"https://www.8848seo.cn/zb_users/upload/2022/07/20220705101240_99378.jpg"
|
|
|
|
|
259 |
)
|
260 |
res = requests.get(img_url)
|
261 |
if res.status_code == 200:
|