Update app.py
Browse files
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=
|
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 |
)
|