mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: ai conclusion
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -651,7 +651,15 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
|
||||
final res =
|
||||
await videoIntroController.aiConclusion();
|
||||
if (res['status']) {
|
||||
widget.showAiBottomSheet();
|
||||
if (videoIntroController.modelResult.summary
|
||||
.isNullOrEmpty &&
|
||||
videoIntroController
|
||||
.modelResult.outline ==
|
||||
null) {
|
||||
SmartDialog.showToast("当前视频不支持AI视频总结");
|
||||
} else {
|
||||
widget.showAiBottomSheet();
|
||||
}
|
||||
}
|
||||
},
|
||||
child: Image.asset('assets/images/ai.png',
|
||||
|
||||
Reference in New Issue
Block a user