rogerxavier commited on
Commit
3749294
1 Parent(s): cc23ba9

Update 3mergeDialogToVideo.py

Browse files
Files changed (1) hide show
  1. 3mergeDialogToVideo.py +1 -1
3mergeDialogToVideo.py CHANGED
@@ -72,7 +72,7 @@ def get_image_copywrite(image_path:"图片路径(包含后缀)",dialog_cut_path:
72
  if len(associate_dialog_img)!=0:
73
  #如果有对应的对话框
74
  for dialog_img_path in associate_dialog_img:
75
- cur_dialog_texts = get_sorted_dialog_text(dialog_img_path)#一个对话框的文字list
76
  if cur_dialog_texts is not None:
77
  for dialog_text in cur_dialog_texts:
78
  # dialog_texts += dialog_text
 
72
  if len(associate_dialog_img)!=0:
73
  #如果有对应的对话框
74
  for dialog_img_path in associate_dialog_img:
75
+ cur_dialog_texts = get_sorted_dialog_text(image_path=dialog_img_path,fake_headers = fake_headers)#一个对话框的文字list
76
  if cur_dialog_texts is not None:
77
  for dialog_text in cur_dialog_texts:
78
  # dialog_texts += dialog_text