ash123 commited on
Commit
9fb6d7a
1 Parent(s): 61ff29e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -275,7 +275,10 @@ with block:
275
  label="Guidance Scale", minimum=0, maximum=50, value=9, step=0.1
276
  )
277
 
278
- ex = gr.Examples(examples=[["A watercolor painting of a bird","mountain", 25, 0,9],["A watercolor painting of an otter","mountain",25,0,9],["Marvel MCU deadpool, red mask, red shirt, red gloves, black shoulders, black elbow pads, black legs, gold buckle, black belt, black mask, white eyes, black boots, fuji low light color 35mm film, downtown Osaka alley at night out of focus in background, neon lights","mountain",25,0,10]], fn=generate_image, inputs=[prompt_input, negative, inf_steps_input,seed_input,guidance_scale],outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=True)
 
 
 
279
  ex.dataset.headers = [""]
280
  negative.submit(generate_image, inputs=[prompt_input, negative, inf_steps_input,seed_input,guidance_scale], outputs=[gallery], postprocess=False)
281
  prompt_input.submit(generate_image, inputs=[prompt_input, negative, inf_steps_input,seed_input,guidance_scale], outputs=[gallery], postprocess=False)
 
275
  label="Guidance Scale", minimum=0, maximum=50, value=9, step=0.1
276
  )
277
 
278
+ ex = gr.Examples(examples=[["A watercolor painting of a bird","mountain", 25, 0,9],["A watercolor painting of an otter","mountain",25,0,9],["Marvel MCU deadpool, red mask, red shirt, red gloves, black shoulders, black elbow pads, black legs, gold buckle, black belt, black mask, white eyes, black boots, fuji low light color 35mm film, downtown Osaka alley at night out of focus in background, neon lights","mountain",25,0,10]],
279
+ fn=generate_image,
280
+ inputs=[prompt_input, negative, inf_steps_input,seed_input,guidance_scale],
281
+ outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=False)
282
  ex.dataset.headers = [""]
283
  negative.submit(generate_image, inputs=[prompt_input, negative, inf_steps_input,seed_input,guidance_scale], outputs=[gallery], postprocess=False)
284
  prompt_input.submit(generate_image, inputs=[prompt_input, negative, inf_steps_input,seed_input,guidance_scale], outputs=[gallery], postprocess=False)