Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,12 +12,8 @@ import gradio as gr
|
|
12 |
|
13 |
from huggingface_hub import snapshot_download
|
14 |
|
15 |
-
from PIL import PngImagePlugin
|
16 |
-
|
17 |
from image_tools.sizes import resize_and_crop
|
18 |
|
19 |
-
LARGE_ENOUGH_NUMBER = 100
|
20 |
-
PngImagePlugin.MAX_TEXT_CHUNK = LARGE_ENOUGH_NUMBER * (1024**2)
|
21 |
|
22 |
|
23 |
model = snapshot_download(repo_id="akhaliq/frame-interpolation-film-style")
|
|
|
12 |
|
13 |
from huggingface_hub import snapshot_download
|
14 |
|
|
|
|
|
15 |
from image_tools.sizes import resize_and_crop
|
16 |
|
|
|
|
|
17 |
|
18 |
|
19 |
model = snapshot_download(repo_id="akhaliq/frame-interpolation-film-style")
|