From 6ceac94d8ff8a404f4e8fa2775db4aaedbe60680 Mon Sep 17 00:00:00 2001 From: Superag Date: Tue, 25 Apr 2023 07:06:54 -0700 Subject: [PATCH] small fix --- scripts/runtime/msai_runtime.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/runtime/msai_runtime.py b/scripts/runtime/msai_runtime.py index bd629a4..f337b52 100644 --- a/scripts/runtime/msai_runtime.py +++ b/scripts/runtime/msai_runtime.py @@ -542,7 +542,7 @@ class MiaoshouRuntime(object): def update_cover_info(self, model, covers): soup = BeautifulSoup(covers[0]) cover_url = soup.findAll('img')[0]['src'].replace('width=100', 'width=450') - print(cover_url) + if self.model_set is None: self.logger.error("model_set is null") return [] @@ -574,7 +574,6 @@ class MiaoshouRuntime(object): self.logger.info(f"generation_info error:{str(e)}") pass - print('a') if not os.path.exists(self.prelude.cache_folder): os.mkdir(self.prelude.cache_folder)