ysharma HF Staff commited on
Commit
1705aea
·
1 Parent(s): 4ca547d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -169,7 +169,7 @@ def gen_moviepy_gif(start_seconds, end_seconds):
169
  final_clip.write_gif(r"./gifimage.gif", fps=15)
170
  print("I am here now")
171
  #im = Image.open(r"./gifimage.gif")
172
- gif_img = mp.VideoFileClip(r"./gifimage.gif")
173
  #final_clip.close()
174
  print("At the very end")
175
  return im
 
169
  final_clip.write_gif(r"./gifimage.gif", fps=15)
170
  print("I am here now")
171
  #im = Image.open(r"./gifimage.gif")
172
+ gif_img = mp.VideoFileClip(Path(("./gifimage.gif"))
173
  #final_clip.close()
174
  print("At the very end")
175
  return im