Update app.py
Browse files
app.py
CHANGED
@@ -351,8 +351,8 @@ with gr.Blocks() as demo:
|
|
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(): # ----按钮控件------
|
|
|
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(): # ----按钮控件------
|