Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ with gr.Blocks() as demo:
|
|
17 |
with gr.Column():
|
18 |
# Компоненты для настроек
|
19 |
image = gr.Image(label="Upload Image", type="filepath")
|
20 |
-
font_path = gr.File(label="Font Path", file_types=[".ttf"])
|
21 |
watermark_text = gr.Textbox(label="Watermark Text")
|
22 |
font_size = gr.Slider(minimum=6, maximum=100, step=1, label="Font Size", value=30)
|
23 |
opacity = gr.Slider(minimum=0, maximum=1, step=0.01, label="Opacity", value=0.5)
|
|
|
17 |
with gr.Column():
|
18 |
# Компоненты для настроек
|
19 |
image = gr.Image(label="Upload Image", type="filepath")
|
20 |
+
font_path = gr.File(label="Font Path, .ttf only", file_types=[".ttf"])
|
21 |
watermark_text = gr.Textbox(label="Watermark Text")
|
22 |
font_size = gr.Slider(minimum=6, maximum=100, step=1, label="Font Size", value=30)
|
23 |
opacity = gr.Slider(minimum=0, maximum=1, step=0.01, label="Opacity", value=0.5)
|