Commit
•
3b0ebf3
1
Parent(s):
361c20d
order
Browse files
app.py
CHANGED
@@ -79,13 +79,6 @@ with gr.Blocks(css=css) as demo:
|
|
79 |
|
80 |
output = gr.Image(label="GIF", show_label=False)
|
81 |
output_stills = gr.Image(label="stills", show_label=False, elem_id="stills")
|
82 |
-
gr.Examples(
|
83 |
-
examples=examples,
|
84 |
-
fn=predict,
|
85 |
-
inputs=[prompt],
|
86 |
-
outputs=[output, output_stills, seed],
|
87 |
-
cache_examples="lazy"
|
88 |
-
)
|
89 |
with gr.Accordion("Advanced Settings", open=False):
|
90 |
seed = gr.Slider(
|
91 |
label="Seed",
|
@@ -113,6 +106,13 @@ with gr.Blocks(css=css) as demo:
|
|
113 |
value=28,
|
114 |
)
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
gr.on(
|
117 |
triggers=[submit.click, prompt.submit],
|
118 |
fn=predict,
|
|
|
79 |
|
80 |
output = gr.Image(label="GIF", show_label=False)
|
81 |
output_stills = gr.Image(label="stills", show_label=False, elem_id="stills")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
with gr.Accordion("Advanced Settings", open=False):
|
83 |
seed = gr.Slider(
|
84 |
label="Seed",
|
|
|
106 |
value=28,
|
107 |
)
|
108 |
|
109 |
+
gr.Examples(
|
110 |
+
examples=examples,
|
111 |
+
fn=predict,
|
112 |
+
inputs=[prompt],
|
113 |
+
outputs=[output, output_stills, seed],
|
114 |
+
cache_examples="lazy"
|
115 |
+
)
|
116 |
gr.on(
|
117 |
triggers=[submit.click, prompt.submit],
|
118 |
fn=predict,
|