Skip to content

Commit

Permalink
update caption_gen.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Jan 7, 2025
1 parent 7118c82 commit d59edb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/helper/aeon_utils/caption_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def generate_caption(filename, directory, caption_template):
caption_data = DefaultDict(
filename=filename,
size=get_readable_file_size(await aiopath.getsize(file_path)),
duration=get_readable_time(video_duration, True),
duration=get_readable_time(int(video_duration), True),
quality=video_quality,
audios=audio_languages,
subtitles=subtitle_languages,
Expand Down

0 comments on commit d59edb4

Please sign in to comment.