Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from diffusers.utils import export_to_video
|
|
| 9 |
from huggingface_hub import hf_hub_download
|
| 10 |
from safetensors.torch import load_file
|
| 11 |
from PIL import Image
|
| 12 |
-
|
| 13 |
# Constants
|
| 14 |
bases = {
|
| 15 |
"ToonYou": "frankjoshua/toonyou_beta6",
|
|
@@ -138,8 +138,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 138 |
video = gr.Video(
|
| 139 |
label='AnimateDiff-Lightning',
|
| 140 |
autoplay=True,
|
| 141 |
-
height=
|
| 142 |
-
width=
|
| 143 |
elem_id="video_output"
|
| 144 |
)
|
| 145 |
|
|
|
|
| 9 |
from huggingface_hub import hf_hub_download
|
| 10 |
from safetensors.torch import load_file
|
| 11 |
from PIL import Image
|
| 12 |
+
size=128
|
| 13 |
# Constants
|
| 14 |
bases = {
|
| 15 |
"ToonYou": "frankjoshua/toonyou_beta6",
|
|
|
|
| 138 |
video = gr.Video(
|
| 139 |
label='AnimateDiff-Lightning',
|
| 140 |
autoplay=True,
|
| 141 |
+
height=size,
|
| 142 |
+
width=size,
|
| 143 |
elem_id="video_output"
|
| 144 |
)
|
| 145 |
|