黄腾 aopstudio commited on
Commit
f7d04ed
·
1 Parent(s): dda4c86

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]>

Files changed (1) hide show
  1. 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
- raise ConnectionError("fail to download the test picture")
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: