xunsong.li commited on
Commit
75c09e2
β€’
1 Parent(s): daa45ed

increase generating size

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -175,8 +175,6 @@ def ui():
175
  <div style="display: inline-block; text-align: left;">
176
  <p> This is a quick preview demo of Moore-AnimateAnyone. We appreciate the assistance provided by the HuggingFace team in setting up this demo. </p>
177
 
178
- <p> To reduce waiting time, we limit the size (width, height and length) and inference steps when generating videos. </p>
179
-
180
  <p> If you like this project, please consider giving a star on <a herf="https://github.com/MooreThreads/Moore-AnimateAnyone"> our GitHub repo </a> πŸ€—. </p>
181
  </div>
182
  </div>
@@ -197,13 +195,13 @@ def ui():
197
 
198
  with gr.Column():
199
  width_slider = gr.Slider(
200
- label="Width", minimum=256, maximum=448, value=448, step=64
201
  )
202
  height_slider = gr.Slider(
203
- label="Height", minimum=256, maximum=512, value=512, step=64
204
  )
205
  length_slider = gr.Slider(
206
- label="Video Length", minimum=24, maximum=24, value=24, step=1
207
  )
208
  with gr.Row():
209
  seed_textbox = gr.Textbox(label="Seed", value=-1)
@@ -221,7 +219,7 @@ def ui():
221
  value=15,
222
  info="default: 15",
223
  step=5,
224
- maximum=15,
225
  minimum=10,
226
  )
227
  guidance_scale = gr.Slider(
 
175
  <div style="display: inline-block; text-align: left;">
176
  <p> This is a quick preview demo of Moore-AnimateAnyone. We appreciate the assistance provided by the HuggingFace team in setting up this demo. </p>
177
 
 
 
178
  <p> If you like this project, please consider giving a star on <a herf="https://github.com/MooreThreads/Moore-AnimateAnyone"> our GitHub repo </a> πŸ€—. </p>
179
  </div>
180
  </div>
 
195
 
196
  with gr.Column():
197
  width_slider = gr.Slider(
198
+ label="Width", minimum=448, maximum=768, value=448, step=64
199
  )
200
  height_slider = gr.Slider(
201
+ label="Height", minimum=512, maximum=960, value=512, step=64
202
  )
203
  length_slider = gr.Slider(
204
+ label="Video Length", minimum=24, maximum=128, value=24, step=24
205
  )
206
  with gr.Row():
207
  seed_textbox = gr.Textbox(label="Seed", value=-1)
 
219
  value=15,
220
  info="default: 15",
221
  step=5,
222
+ maximum=20,
223
  minimum=10,
224
  )
225
  guidance_scale = gr.Slider(