Ver código fonte

Merge branch 'master' of http://git.choozmo.com:3000/choozmo/AI_Anchor_2

deployer 3 anos atrás
pai
commit
6ac6a882f8
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      OpenshotService/openshot_video_generator.py

+ 2 - 1
OpenshotService/openshot_video_generator.py

@@ -793,7 +793,8 @@ def anchor_video_v2(name_hash,name,text_content, image_urls,multiLang,avatar,fre
         anchor_list[idx].Open()
         anchor_clip_list[idx] = video_photo_clip(vid=anchor_list[idx],layer=4,scale_x=0.65,scale_y=0.65,
                 location_x=0.35,location_y=0.25,position=main_timer, end=clip_duration,ck=ck_anchor,audio=False)
-        if avatar==18:
+        if avatar!=18:
+            print('avatar is ', avatar)
             t.AddClip(anchor_clip_list[idx])