Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|