Spaces:
Runtime error
Runtime error
sliders added
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ iface = gr.Interface(
|
|
74 |
theme=gr.themes.Soft(primary_hue="emerald", secondary_hue="teal"),
|
75 |
fn=generate_video,
|
76 |
inputs=[
|
77 |
-
gr.Textbox(label="
|
78 |
gr.Textbox(label="Negative Prompt"),
|
79 |
gr.Slider(minimum=0.5, maximum=10, value=7.5, label="Guidance Scale"),
|
80 |
gr.Slider(minimum=4, maximum=24, step=4, value=4, label="Inference Steps"),
|
@@ -82,8 +82,8 @@ iface = gr.Interface(
|
|
82 |
],
|
83 |
outputs=gr.Video(label="Generated Video"),
|
84 |
examples = [
|
85 |
-
["a cat playing with a ball of yarn", "blurry", 7.5,
|
86 |
-
["a dog running in a field", "dark, indoors", 8.0,
|
87 |
]
|
88 |
)
|
89 |
|
|
|
74 |
theme=gr.themes.Soft(primary_hue="emerald", secondary_hue="teal"),
|
75 |
fn=generate_video,
|
76 |
inputs=[
|
77 |
+
gr.Textbox(label="Prompt"),
|
78 |
gr.Textbox(label="Negative Prompt"),
|
79 |
gr.Slider(minimum=0.5, maximum=10, value=7.5, label="Guidance Scale"),
|
80 |
gr.Slider(minimum=4, maximum=24, step=4, value=4, label="Inference Steps"),
|
|
|
82 |
],
|
83 |
outputs=gr.Video(label="Generated Video"),
|
84 |
examples = [
|
85 |
+
["a cat playing with a ball of yarn", "blurry", 7.5, 16, []],
|
86 |
+
["a dog running in a field", "dark, indoors", 8.0, 16, ["pan-left", "tilt-up"]],
|
87 |
]
|
88 |
)
|
89 |
|