Update app.py
Browse files
app.py
CHANGED
@@ -350,7 +350,10 @@ with gr.Blocks() as demo:
|
|
350 |
sz3 = gr.Slider(1, 100, label = "wordSize", value=40, step = 5)
|
351 |
txt_x = gr.Slider(1, WIDTH, label = "内容位置_x", value=20, step = 5)
|
352 |
color3 = gr.Textbox("#101010", label = "文字颜色")
|
353 |
-
|
|
|
|
|
|
|
354 |
with gr.Row():
|
355 |
with gr.Column(): # ----按钮控件------
|
356 |
pre_img_bt = gr.Button("预览")
|
|
|
350 |
sz3 = gr.Slider(1, 100, label = "wordSize", value=40, step = 5)
|
351 |
txt_x = gr.Slider(1, WIDTH, label = "内容位置_x", value=20, step = 5)
|
352 |
color3 = gr.Textbox("#101010", label = "文字颜色")
|
353 |
+
|
354 |
+
input_image, font_title, sz1, title_x, title_y, color1,
|
355 |
+
font_subtt, sz2, subtt_x, subtt_y, color2,
|
356 |
+
font_txt, sz3, txt_x, color3, bac_color = load_template("专有")
|
357 |
with gr.Row():
|
358 |
with gr.Column(): # ----按钮控件------
|
359 |
pre_img_bt = gr.Button("预览")
|