yhzhai commited on
Commit
d368532
1 Parent(s): 339b2b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -155,7 +155,7 @@ cache_pipeline = {
155
 
156
  @spaces.GPU
157
  def infer(
158
- base_model, variant, prompt, seed=0, randomize_seed=True, num_inference_steps=4
159
  ):
160
  # if pipe_dict[base_model][variant] is None:
161
  # if base_model == "ModelScope T2V":
@@ -279,7 +279,7 @@ examples = [
279
  "A young woman in a yellow sweater uses vr glasses, sitting on the shore of a pond on a background of dark waves. a strong wind develops her hair, the sun's rays are reflected from the water.",
280
  ],
281
  [
282
- "AnimateDiff (epiCRealism)",
283
  "LAION-aes",
284
  "Female running at sunset. healthy fitness concept",
285
  ],
@@ -386,7 +386,7 @@ with gr.Blocks(css=css) as demo:
386
  with gr.Column():
387
  # result = gr.Video(label="Result", show_label=False, interactive=False, height=512, width=512, autoplay=True)
388
  result = gr.Video(
389
- label="Result", show_label=False, interactive=False, autoplay=True
390
  )
391
 
392
  gr.Examples(
 
155
 
156
  @spaces.GPU
157
  def infer(
158
+ base_model, variant, prompt, seed=0, randomize_seed=True, num_inference_steps=6
159
  ):
160
  # if pipe_dict[base_model][variant] is None:
161
  # if base_model == "ModelScope T2V":
 
279
  "A young woman in a yellow sweater uses vr glasses, sitting on the shore of a pond on a background of dark waves. a strong wind develops her hair, the sun's rays are reflected from the water.",
280
  ],
281
  [
282
+ "AnimateDiff (RealisticVision)",
283
  "LAION-aes",
284
  "Female running at sunset. healthy fitness concept",
285
  ],
 
386
  with gr.Column():
387
  # result = gr.Video(label="Result", show_label=False, interactive=False, height=512, width=512, autoplay=True)
388
  result = gr.Video(
389
+ label="Result", show_label=False, interactive=False, autoplay=True, height=512, width=512,
390
  )
391
 
392
  gr.Examples(