update err msg
parent
ae9884430a
commit
d11cfd5dbd
|
|
@ -203,6 +203,9 @@ Since v1.5.5, we've already optimized the SHA256 function to the top. So the onl
|
|||
|
||||
|
||||
# Change Log
|
||||
## v1.5.6
|
||||
* update error msg when can not connect to civitai API service
|
||||
|
||||
## v1.5.5
|
||||
* update SHA256 function, now it just use the code from pip
|
||||
|
||||
|
|
|
|||
|
|
@ -207,6 +207,10 @@ def get_model_info_by_url(model_url_or_id:str) -> tuple:
|
|||
return
|
||||
|
||||
model_info = civitai.get_model_info_by_id(model_id)
|
||||
if model_info is None:
|
||||
util.printD("Connect to Civitai API service failed. Wait a while and try again")
|
||||
return
|
||||
|
||||
if not model_info:
|
||||
util.printD("failed to get model info from url or id")
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue