forked from 77media/video-flow
区分精剪/粗剪loading文字
This commit is contained in:
parent
7ab05c26b1
commit
5c393f2ecd
@ -170,7 +170,7 @@ export function TaskInfo({
|
||||
setIsScriptModalOpen(true);
|
||||
setCurrentStage(3);
|
||||
}
|
||||
if (currentLoadingText.includes('video')) {
|
||||
if (currentLoadingText.includes('video') && !currentLoadingText.includes('Post-production')) {
|
||||
console.log('isScriptModalOpen-video', currentLoadingText, isScriptModalOpen);
|
||||
if (isScriptModalOpen) {
|
||||
setIsScriptModalOpen(false);
|
||||
|
||||
@ -253,7 +253,7 @@ export function useWorkflowData() {
|
||||
|
||||
// 暂时没有音频生成 直接跳过
|
||||
finalStep = '5';
|
||||
loadingText = LOADING_TEXT_MAP.postProduction('post-production...');
|
||||
loadingText = LOADING_TEXT_MAP.postProduction('generating rough cut video...');
|
||||
}
|
||||
}
|
||||
// 粗剪
|
||||
@ -263,7 +263,7 @@ export function useWorkflowData() {
|
||||
url: task.task_result.video,
|
||||
})
|
||||
finalStep = '5.5';
|
||||
loadingText = LOADING_TEXT_MAP.postProduction('post-production...');
|
||||
loadingText = LOADING_TEXT_MAP.postProduction('generating fine-grained video clips...');
|
||||
}
|
||||
}
|
||||
// 最终剪辑
|
||||
@ -457,7 +457,7 @@ export function useWorkflowData() {
|
||||
|
||||
// 暂时没有音频生成 直接跳过
|
||||
finalStep = '5';
|
||||
loadingText = LOADING_TEXT_MAP.postProduction('post-production...');
|
||||
loadingText = LOADING_TEXT_MAP.postProduction('generating rough cut video...');
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -468,7 +468,7 @@ export function useWorkflowData() {
|
||||
url: data.final_simple_video.video
|
||||
});
|
||||
finalStep = '5.5';
|
||||
loadingText = LOADING_TEXT_MAP.postProduction('post-production...');
|
||||
loadingText = LOADING_TEXT_MAP.postProduction('generating fine-grained video clips...');
|
||||
}
|
||||
|
||||
if (data.final_video && data.final_video.video) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user