yhzhai commited on
Commit
08f4103
1 Parent(s): a19ec9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -245,7 +245,7 @@ def infer(
245
 
246
  generator = torch.Generator("cpu").manual_seed(seed)
247
 
248
- progress=gr.Progress(track_tqdm=True)
249
  output = cache_pipeline["pipeline"](
250
  prompt=prompt,
251
  num_frames=16,
@@ -416,7 +416,7 @@ with gr.Blocks(css=css) as demo:
416
  num_inference_steps = gr.Slider(
417
  label="Number of inference steps",
418
  minimum=1,
419
- maximum=16,
420
  step=1,
421
  value=4,
422
  )
 
245
 
246
  generator = torch.Generator("cpu").manual_seed(seed)
247
 
248
+ # progress=gr.Progress(track_tqdm=True)
249
  output = cache_pipeline["pipeline"](
250
  prompt=prompt,
251
  num_frames=16,
 
416
  num_inference_steps = gr.Slider(
417
  label="Number of inference steps",
418
  minimum=1,
419
+ maximum=12,
420
  step=1,
421
  value=4,
422
  )