Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -132,7 +132,7 @@ async def create_demo():
|
|
132 |
gr.Slider(minimum=480, maximum=1080, value=720, label="Video Height", step=10),
|
133 |
gr.File(label="Upload Background Image or Video", type="filepath"), # Changed type to 'filepath'
|
134 |
gr.ColorPicker(value="#FFFFFF", label="Text Color"),
|
135 |
-
gr.Textbox(label="Text Font", value="msyh.ttf"), #
|
136 |
gr.Slider(minimum=10, maximum=100, value=24, label="Text Size", step=1)
|
137 |
],
|
138 |
outputs=[
|
|
|
132 |
gr.Slider(minimum=480, maximum=1080, value=720, label="Video Height", step=10),
|
133 |
gr.File(label="Upload Background Image or Video", type="filepath"), # Changed type to 'filepath'
|
134 |
gr.ColorPicker(value="#FFFFFF", label="Text Color"),
|
135 |
+
gr.Textbox(label="Text Font", value="msyh.ttf"), # Please ensure the font file path is correct
|
136 |
gr.Slider(minimum=10, maximum=100, value=24, label="Text Size", step=1)
|
137 |
],
|
138 |
outputs=[
|