Vikit-ai / sdk

Vikit.ai SDK let you develop easily video generators leveraging generative AI and other AI models.
https://vikit.ai
Apache License 2.0
50 stars 7 forks source link

script_example_postprocessing #158

Closed leclem closed 5 days ago

leclem commented 1 week ago

quality controls

cutting video at the right time work

examples

script_example.py

Better quality function

changes working

work working

commit

solving bugs and code reviews

sonarcloud corrections

test_quality_check added

removing prints

removing url

generating zoom video in case regeneration fails

bug lower

new webp format

leclem commented 1 week ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 27.36842% with 207 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
vikit/gateways/vikit_gateway.py 3.22% 60 Missing :warning:
vikit/wrappers/ffmpeg_wrapper.py 12.50% 42 Missing :warning:
script_example.py 0.00% 29 Missing :warning:
vikit/video/video.py 24.32% 28 Missing :warning:
tests/test_quality_check.py 58.53% 17 Missing :warning:
tests/test_ffmpeg_wrapper.py 35.00% 13 Missing :warning:
tests/build_output_assertions.py 0.00% 4 Missing :warning:
vikit/common/config.py 33.33% 4 Missing :warning:
vikit/video/building/handlers/videogen_handler.py 50.00% 4 Missing :warning:
...ideo/building/handlers/video_reencoding_handler.py 33.33% 2 Missing :warning:
... and 4 more
Files with missing lines Coverage Δ
vikit/prompt/multimodal_prompt.py 80.00% <100.00%> (+1.05%) :arrow_up:
vikit/video/composite_video.py 78.12% <100.00%> (+0.17%) :arrow_up:
vikit/video/raw_image_based_video.py 89.18% <100.00%> (+0.30%) :arrow_up:
vikit/video/raw_text_based_video.py 85.36% <100.00%> (ø)
tests/test_composite_video.py 44.19% <0.00%> (ø)
vikit/gateways/fake_ML_models_gateway.py 50.00% <50.00%> (ø)
vikit/prompt/prompt_factory.py 42.35% <66.66%> (ø)
vikit/video/raw_multimodal_based_video.py 51.72% <66.66%> (+1.72%) :arrow_up:
...ideo/building/handlers/video_reencoding_handler.py 76.19% <33.33%> (-7.15%) :arrow_down:
tests/build_output_assertions.py 0.00% <0.00%> (ø)
... and 8 more

... and 1 file with indirect coverage changes


🚨 Try these New Features:

sonarcloud[bot] commented 5 days ago

Quality Gate Failed Quality Gate failed

Failed conditions
7.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud