diff --git a/package.json b/package.json index b865c14..3a12a28 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "toonflow-app", - "version": "1.0.7-patch3", + "version": "1.0.7", "description": "Toonflow 是一款 AI 短剧漫剧工具,能够利用 AI 技术将小说自动转化为剧本,并结合 AI 生成的图片和视频,实现高效的短剧创作。", "author": "HBAI-Ltd ", "homepage": "https://github.com/HBAI-Ltd/Toonflow-app#readme", diff --git a/src/lib/fixDB.ts b/src/lib/fixDB.ts index ebe9d38..47e5963 100644 --- a/src/lib/fixDB.ts +++ b/src/lib/fixDB.ts @@ -105,7 +105,7 @@ export default async (knex: Knex): Promise => { await knex("t_aiModelMap").insert(needInsert); } const viduVideototal = await knex("t_videoModel").where("manufacturer", "vidu").count({ count: "*" }); - console.log("%c Line:108 🍷 viduVideototal", "background:#fca650", viduVideototal); + const viduCount = Number(viduVideototal[0].count); if (viduCount > 5) { await knex("t_videoModel").where("manufacturer", "vidu").delete(); @@ -158,7 +158,7 @@ export default async (knex: Knex): Promise => { ]); } const klingVideototal = await knex("t_videoModel").where("manufacturer", "kling").count({ count: "*" }); - console.log("%c Line:161 🍋 klingVideototal", "background:#93c0a4", klingVideototal); + const kelingcount = Number(klingVideototal[0].count); if (kelingcount > 5) { await knex("t_videoModel").where("manufacturer", "kling").delete();