giswqs commited on
Commit
127d654
·
1 Parent(s): 2e45b39

Added Alibaba font type

Browse files
Files changed (1) hide show
  1. apps/timelapse.py +6 -0
apps/timelapse.py CHANGED
@@ -285,6 +285,11 @@ def app():
285
  apply_fmask = st.checkbox(
286
  "Apply fmask (remove clouds, shadows, snow)", True
287
  )
 
 
 
 
 
288
 
289
  empty_text = st.empty()
290
  empty_image = st.empty()
@@ -341,6 +346,7 @@ def app():
341
  xy=("2%", "90%"),
342
  text_sequence=title,
343
  font_size=font_size,
 
344
  font_color=font_color,
345
  duration=int(1000 / speed),
346
  add_progress_bar=True,
 
285
  apply_fmask = st.checkbox(
286
  "Apply fmask (remove clouds, shadows, snow)", True
287
  )
288
+ title_font = st.selectbox(
289
+ "Select the font type for the title:",
290
+ ["arial.ttf", "alibaba.otf"],
291
+ index=0,
292
+ )
293
 
294
  empty_text = st.empty()
295
  empty_image = st.empty()
 
346
  xy=("2%", "90%"),
347
  text_sequence=title,
348
  font_size=font_size,
349
+ font_type=title_font,
350
  font_color=font_color,
351
  duration=int(1000 / speed),
352
  add_progress_bar=True,