mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 01:06:19 +00:00
Update font and font size in SimpleCaptioningEngine.py
This commit is contained in:
@@ -87,7 +87,7 @@ class SimpleCaptioningEngine(BaseCaptioningEngine):
|
|||||||
font = gr.Dropdown(
|
font = gr.Dropdown(
|
||||||
label="Font",
|
label="Font",
|
||||||
choices=TextClip.list("font"),
|
choices=TextClip.list("font"),
|
||||||
value="Arial",
|
value="Comic-Sans-MS",
|
||||||
)
|
)
|
||||||
font_size = gr.Number(
|
font_size = gr.Number(
|
||||||
label="Font Size",
|
label="Font Size",
|
||||||
@@ -104,7 +104,7 @@ class SimpleCaptioningEngine(BaseCaptioningEngine):
|
|||||||
minimum=0,
|
minimum=0,
|
||||||
maximum=40,
|
maximum=40,
|
||||||
step=1,
|
step=1,
|
||||||
value=6,
|
value=5,
|
||||||
)
|
)
|
||||||
font_stroke_color = gr.ColorPicker(
|
font_stroke_color = gr.ColorPicker(
|
||||||
label="Stroke Color", value="#000000"
|
label="Stroke Color", value="#000000"
|
||||||
|
|||||||
Reference in New Issue
Block a user