tonyassi commited on
Commit
c8453fc
1 Parent(s): a2646c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -132,7 +132,8 @@ with gr.Blocks() as demo:
132
  [text_ip, text_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider],
133
  output_image,
134
  text_to_image,
135
- cache_examples=True
 
136
  )
137
 
138
  text_button.click(text_to_image, inputs=[text_ip, text_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider], outputs=output_image)
 
132
  [text_ip, text_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider],
133
  output_image,
134
  text_to_image,
135
+ cache_examples=True,
136
+ label='Text-to-Image Example'
137
  )
138
 
139
  text_button.click(text_to_image, inputs=[text_ip, text_prompt, neg_prompt, width_slider, height_slider, ip_scale_slider, strength_slider, guidance_slider, steps_slider], outputs=output_image)