fix: stop broken typechecking
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -72,7 +72,7 @@ class TTSEngine:
|
||||
print_substep("Saved Text to MP3 files successfully.", style="bold green")
|
||||
return self.length, idx
|
||||
|
||||
def split_post(self, text: str, idx: int) -> str:
|
||||
def split_post(self, text: str, idx: int):
|
||||
split_files = []
|
||||
split_text = [
|
||||
x.group().strip()
|
||||
|
||||
@@ -2,6 +2,7 @@ import random
|
||||
from os import listdir, environ
|
||||
from pathlib import Path
|
||||
from random import randrange
|
||||
from typing import Tuple
|
||||
|
||||
from moviepy.editor import VideoFileClip
|
||||
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
|
||||
@@ -10,7 +11,7 @@ from pytube import YouTube
|
||||
from utils.console import print_step, print_substep
|
||||
|
||||
|
||||
def get_start_and_end_times(video_length: int, length_of_clip: int) -> tuple[int, int]:
|
||||
def get_start_and_end_times(video_length: int, length_of_clip: int) -> Tuple[int, int]:
|
||||
"""Generates a random interval of time to be used as the background of the video.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in new issue
Block a user