LeoXing1996 commited on
Commit
5e80b0e
1 Parent(s): 046f233

support new year feature

Browse files
Files changed (1) hide show
  1. app-huggingface.py +1 -1
app-huggingface.py CHANGED
@@ -37,7 +37,7 @@ def add_text(gif_file: str, mp4_file: str, text_index: int):
37
  except EOFError:
38
  pass
39
 
40
- text = ['Happy New Year!'][text_index]
41
  size = [36, 36, 36, 36][text_index]
42
 
43
  for i, frame in enumerate(frames):
 
37
  except EOFError:
38
  pass
39
 
40
+ text = ['Happy New Year!', 'Happy New Year!', 'Happy New Year!', 'Happy New Year!'][text_index]
41
  size = [36, 36, 36, 36][text_index]
42
 
43
  for i, frame in enumerate(frames):