Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,14 +30,14 @@ demo_inputs = [
|
|
30 |
label="Video Length",
|
31 |
minimum=1,
|
32 |
maximum=50,
|
33 |
-
default=
|
34 |
step=1,
|
35 |
),
|
36 |
gr.inputs.Slider(
|
37 |
label="Height",
|
38 |
minimum=128,
|
39 |
maximum=1280,
|
40 |
-
default=
|
41 |
step=32,
|
42 |
|
43 |
),
|
@@ -45,7 +45,7 @@ demo_inputs = [
|
|
45 |
label="Width",
|
46 |
minimum=128,
|
47 |
maximum=1280,
|
48 |
-
default=
|
49 |
step=32,
|
50 |
),
|
51 |
gr.inputs.Slider(
|
@@ -59,7 +59,7 @@ demo_inputs = [
|
|
59 |
label="Guidance Scale",
|
60 |
minimum=0.0,
|
61 |
maximum=50,
|
62 |
-
default=
|
63 |
step=0.5,
|
64 |
)
|
65 |
]
|
@@ -67,7 +67,8 @@ demo_inputs = [
|
|
67 |
demo_outputs = gr.outputs.Video(type="gif", label="Output")
|
68 |
|
69 |
examples = [
|
70 |
-
["a panda is surfing",
|
|
|
71 |
]
|
72 |
|
73 |
description = "This generates video from an input text, using [one-shot tuning of diffusion models](https://arxiv.org/abs/2212.11565). To use it, simply input a text."
|
|
|
30 |
label="Video Length",
|
31 |
minimum=1,
|
32 |
maximum=50,
|
33 |
+
default=8,
|
34 |
step=1,
|
35 |
),
|
36 |
gr.inputs.Slider(
|
37 |
label="Height",
|
38 |
minimum=128,
|
39 |
maximum=1280,
|
40 |
+
default=416,
|
41 |
step=32,
|
42 |
|
43 |
),
|
|
|
45 |
label="Width",
|
46 |
minimum=128,
|
47 |
maximum=1280,
|
48 |
+
default=416,
|
49 |
step=32,
|
50 |
),
|
51 |
gr.inputs.Slider(
|
|
|
59 |
label="Guidance Scale",
|
60 |
minimum=0.0,
|
61 |
maximum=50,
|
62 |
+
default=100,
|
63 |
step=0.5,
|
64 |
)
|
65 |
]
|
|
|
67 |
demo_outputs = gr.outputs.Video(type="gif", label="Output")
|
68 |
|
69 |
examples = [
|
70 |
+
["a panda is surfing", 8, 416, 416, 50, 7.5],
|
71 |
+
["a flower blooming", 5, 416, 416, 50, 50],
|
72 |
]
|
73 |
|
74 |
description = "This generates video from an input text, using [one-shot tuning of diffusion models](https://arxiv.org/abs/2212.11565). To use it, simply input a text."
|