dn6 HF staff commited on
Commit
5a7123f
1 Parent(s): 95554d6
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -79,13 +79,7 @@ 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, seed],
87
- cache_examples="lazy"
88
- )
89
  with gr.Accordion("Advanced Settings", open=False):
90
  seed = gr.Slider(
91
  label="Seed",
@@ -113,6 +107,14 @@ 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
+
 
 
 
 
 
 
83
  with gr.Accordion("Advanced Settings", open=False):
84
  seed = gr.Slider(
85
  label="Seed",
 
107
  value=28,
108
  )
109
 
110
+ gr.Examples(
111
+ examples=examples,
112
+ fn=predict,
113
+ inputs=[prompt],
114
+ outputs=[output, output_stills, seed],
115
+ cache_examples="lazy"
116
+ )
117
+
118
  gr.on(
119
  triggers=[submit.click, prompt.submit],
120
  fn=predict,