K00B404 commited on
Commit
dfcc271
1 Parent(s): 00f521e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=512,
142
- width=512,
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