Parcourir la source

add image display test

ming il y a 3 ans
Parent
commit
483e9c478b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      OpenshotService/openshot_video_generator.py

+ 1 - 1
OpenshotService/openshot_video_generator.py

@@ -648,7 +648,7 @@ def video_gen(name_hash,name,text_content, image_urls,multiLang,avatar):
         sub_img_list[idx].Close()
         sub_img_list[idx].Close()
 
 
 
 
-    text_parser tp = parser()
+    tp = parser()
     img_dict_ls = tp.image_clip_info(sub_dict)
     img_dict_ls = tp.image_clip_info(sub_dict)
     #if 'image_idx' in dic:
     #if 'image_idx' in dic:
     #            new_dic['image_obj'] = {'start':dic['start'],'idx':dic['image_idx']}
     #            new_dic['image_obj'] = {'start':dic['start'],'idx':dic['image_idx']}