Skip to content

Add async support for video generation process ✨#8916

Closed
ivandrofly wants to merge 2 commits intoSubtitleEdit:mainfrom
ivandrofly:embedded-soft-generate-async
Closed

Add async support for video generation process ✨#8916
ivandrofly wants to merge 2 commits intoSubtitleEdit:mainfrom
ivandrofly:embedded-soft-generate-async

Conversation

@ivandrofly
Copy link
Member

Modified the buttonGenerate_Click and RunEmbedding methods to support asynchronous operations. This change ensures the application remains responsive during lengthy video processing tasks, improving user experience by leveraging async/await and background tasks.

Modified the buttonGenerate_Click and RunEmbedding methods to support asynchronous operations. This change ensures the application remains responsive during lengthy video processing tasks, improving user experience by leveraging async/await and background tasks.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Clarified comment in the video generation process to correctly convey the frequency of standby prevention, ensuring it happens every 30 seconds rather than after 30 seconds. This improves code readability and helps future maintenance.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
@ivandrofly ivandrofly changed the title Add async support for video generation process Add async support for video generation process ✨ Oct 26, 2024
@niksedk niksedk closed this Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants