fix add local vision llm error when cannot download test pic (#1732)
Browse files### What problem does this PR solve?
#1726 fix add local vision llm error when cannot download test pic
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Co-authored-by: Zhedong Cen <[email protected]>
- api/apps/llm_app.py +1 -1
api/apps/llm_app.py
CHANGED
@@ -195,7 +195,7 @@ def add_llm():
|
|
195 |
if not tc:
|
196 |
raise Exception(m)
|
197 |
else:
|
198 |
-
|
199 |
except Exception as e:
|
200 |
msg += f"\nFail to access model({llm['llm_name']})." + str(e)
|
201 |
else:
|
|
|
195 |
if not tc:
|
196 |
raise Exception(m)
|
197 |
else:
|
198 |
+
pass
|
199 |
except Exception as e:
|
200 |
msg += f"\nFail to access model({llm['llm_name']})." + str(e)
|
201 |
else:
|