eienmojiki commited on
Commit
5fe23d6
1 Parent(s): 4def516
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  from moviepy.editor import *
2
 
3
- from PIL import Image, GifImagePlugin
4
 
5
  import tempfile
6
  import gradio as gr
@@ -15,7 +15,7 @@ def convert_video_to_gif(
15
  end: float | None = None,
16
  fps: int | None = None,
17
  quality: int | None = None
18
- ) -> Image.Image:
19
  """
20
  Convert video to GIF image
21
 
 
1
  from moviepy.editor import *
2
 
3
+ from PIL import Image
4
 
5
  import tempfile
6
  import gradio as gr
 
15
  end: float | None = None,
16
  fps: int | None = None,
17
  quality: int | None = None
18
+ ):
19
  """
20
  Convert video to GIF image
21
 
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
  moviepy
2
- Pillow
3
  imageio
 
1
  moviepy
2
+ Pillow==10.2.0
3
  imageio