noamelata commited on
Commit
27f154c
·
1 Parent(s): dbcbdf5

change default values

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -45,12 +45,11 @@ if __name__ == "__main__":
45
  interface = partial(run, pipe=pipe)
46
  demo = gr.Interface(
47
  fn=interface,
48
- inputs=[gr.Textbox(value="a photograph of a nest with a blue egg inside"),
49
- gr.Slider(minimum=1, maximum=10, value=4, step=1),
50
- gr.Slider(minimum=5, maximum=50, value=10, step=1),
51
- "checkbox"],
52
  outputs=[gr.HTML(), gr.Image(shape=[512, 512], elem_id="output_image").style(width=512, height=512)],
53
- # css=".output_image {height: 10% !important; width: 10% !important;}",
54
  allow_flagging="never"
55
  )
56
  demo.queue()
 
45
  interface = partial(run, pipe=pipe)
46
  demo = gr.Interface(
47
  fn=interface,
48
+ inputs=[gr.Textbox(value="a photograph of a nest with a blue egg inside", label="Prompt"),
49
+ gr.Slider(minimum=1, maximum=10, value=4, step=1, label="Outer Steps"),
50
+ gr.Slider(minimum=5, maximum=50, value=25, step=1, label="Inner Steps"),
51
+ gr.Checkbox(label="Random Seed")],
52
  outputs=[gr.HTML(), gr.Image(shape=[512, 512], elem_id="output_image").style(width=512, height=512)],
 
53
  allow_flagging="never"
54
  )
55
  demo.queue()