vikit.common.config¶
Overview¶
Whether to cleanup temporary files or not. By default we set it to False |
|
- |
|
- |
|
- |
|
- |
|
- |
|
The file name of the user provided or llm generated audio file |
|
- |
|
- |
|
- |
|
The number of subtitles to generate per video |
|
|
The name of the mp3 file either converted from user or |
- |
|
The prefix for the file name of the audio file that will be used for the subtitles video |
|
The default name used to save the subtitles file in the working directory |
|
- |
|
Are we using the real Vikit Gateway or a fake one for local_integration tests |
|
- |
|
The length of the video generated for each subtitle is currently directly |
|
|
The file name of the list of videos files to mix with ffmpeg |
- |
- |
|
- |
|
- |
|
- |
Functions¶
- vikit.common.config.get_cleanup_tempfiles() bool¶
Whether to cleanup temporary files or not. By default we set it to False as we prefer to keep the files for debugging purposes or to train future models, or even reuse the produced sub videos
- vikit.common.config.get_environment()¶
- vikit.common.config.get_initial_audio_file_name()¶
The file name of the user provided or llm generated audio file
- vikit.common.config.get_prompt_mp3_file_name(uuid=creation_uuid) str¶
The name of the mp3 file either converted from user or generated using an llm and that we use to extract subtitles from the video
- vikit.common.config.get_sub_audio_for_subtitle_prefix()¶
The prefix for the file name of the audio file that will be used for the subtitles video
- vikit.common.config.get_subtitles_default_file_name(uuid=creation_uuid) str¶
The default name used to save the subtitles file in the working directory It is typically build from smaller subtitles generated for subvideos
- vikit.common.config.get_test_mode() bool¶
Are we using the real Vikit Gateway or a fake one for local_integration tests
- vikit.common.config.get_video_length_per_subtitle() int¶
The length of the video generated for each subtitle is currently directly linked to the maximum amount of time allowed by videocrafter
- vikit.common.config.get_video_list_file_name(uuid=creation_uuid)¶
The file name of the list of videos files to mix with ffmpeg
Attributes¶
- vikit.common.config.creation_uuid¶
- vikit.common.config.env_file¶
- vikit.common.config.repo_root¶
- vikit.common.config.sdk_root¶