zdxpan commited on
Commit
0f56371
1 Parent(s): c78c15b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -309,7 +309,9 @@ def run_save_cookie(account_name):
309
  gr.Dropdown.update(choices=account_fn, value=cookie_fns)
310
  return "succ"
311
 
312
-
 
 
313
  # 构建Blocks上下文 =======================================================================
314
  with gr.Blocks() as demo:
315
  with gr.Tabs():
@@ -371,9 +373,7 @@ with gr.Blocks() as demo:
371
 
372
  # mv_files = gr.Files(movies, label="movies")
373
  # img_files = gr.Files(imgs_cur, label="movie_imgs")
374
- input_image, font_title, sz1, title_x, title_y, color1, \
375
- font_subtt, sz2, subtt_x, subtt_y, color2, \
376
- font_txt, sz3, txt_x, color3, bac_color = load_template("专有")
377
  with gr.TabItem("生成&发布"):
378
  gr.Markdown(f"{description}")
379
  with gr.Row(): # 行排列
 
309
  gr.Dropdown.update(choices=account_fn, value=cookie_fns)
310
  return "succ"
311
 
312
+ input_image_, font_title_, sz1_, title_x_, title_y_, color1_, \
313
+ font_subtt_, sz2_, subtt_x_, subtt_y_, color2_, \
314
+ font_txt_, sz3_, txt_x_, color3_, bac_color_ = load_template("专有")
315
  # 构建Blocks上下文 =======================================================================
316
  with gr.Blocks() as demo:
317
  with gr.Tabs():
 
373
 
374
  # mv_files = gr.Files(movies, label="movies")
375
  # img_files = gr.Files(imgs_cur, label="movie_imgs")
376
+
 
 
377
  with gr.TabItem("生成&发布"):
378
  gr.Markdown(f"{description}")
379
  with gr.Row(): # 行排列