Formatting

This commit is contained in:
2024-02-23 13:12:48 +01:00
parent 03dd641c70
commit 9f91132a0a
23 changed files with 39 additions and 63 deletions

View File

@@ -6,7 +6,6 @@ import time
import gradio as gr
import moviepy.editor as mp
from moviepy.video.fx.crop import crop
from moviepy.video.fx.resize import resize
from . import BaseBackgroundEngine
@@ -60,7 +59,7 @@ class VideoBackgroundEngine(BaseBackgroundEngine):
)
@classmethod
def get_settings(cls) -> list:
def get_settings(cls):
def add_file(fp: str, name: str, credits: str):
if name == "":
raise ValueError("Name cannot be empty.")