SPACERUNNER99 commited on
Commit
9db7e1a
·
verified ·
1 Parent(s): f1fd455

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -343,7 +343,7 @@ def create_subtitle_clips(subtitles, videosize, fontsize, font, color, debug):
343
  #bidi_text = get_display(reshaped_text)
344
  text_clip = TextClip(font, subtitle.text, font_size=fontsize, size=(int(video_width * 0.8), int(video_height * 0.2)) ,text_align="center" ,color=color, bg_color='black', method='caption').with_start(start_time).with_duration(duration)
345
  subtitle_x_position = 'center'
346
- subtitle_y_position = video_height * 0.8
347
  text_position = (subtitle_x_position, subtitle_y_position)
348
  subtitle_clips.append(text_clip.with_position(text_position))
349
  return subtitle_clips
 
343
  #bidi_text = get_display(reshaped_text)
344
  text_clip = TextClip(font, subtitle.text, font_size=fontsize, size=(int(video_width * 0.8), int(video_height * 0.2)) ,text_align="center" ,color=color, bg_color='black', method='caption').with_start(start_time).with_duration(duration)
345
  subtitle_x_position = 'center'
346
+ subtitle_y_position = video_height * 0.6
347
  text_position = (subtitle_x_position, subtitle_y_position)
348
  subtitle_clips.append(text_clip.with_position(text_position))
349
  return subtitle_clips