Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -259,14 +259,14 @@ with gr.Blocks(css=HTML_TEMPLATE) as demo:
|
|
259 |
|
260 |
gr.Examples(
|
261 |
examples=[
|
262 |
-
["Floating island with waterfalls", 'Illustration Style',
|
263 |
["Futuristic city with neon lights", 'Line Art', 10, 8.0, 123, 'Bright', 300, "256x256"],
|
264 |
-
["Japanese garden with cherry blossoms", 'Hitokomoru Style',
|
265 |
],
|
266 |
inputs=[text, style, inference_step, guidance_scale, seed, guidance_method, loss_scale, image_size],
|
267 |
outputs=[output_image, output_image_guided],
|
268 |
fn=inference,
|
269 |
-
cache_examples=
|
270 |
)
|
271 |
|
272 |
if __name__ == "__main__":
|
|
|
259 |
|
260 |
gr.Examples(
|
261 |
examples=[
|
262 |
+
["Floating island with waterfalls", 'Illustration Style', 20, 7.5, 42, 'Grayscale', 200, "256x256"],
|
263 |
["Futuristic city with neon lights", 'Line Art', 10, 8.0, 123, 'Bright', 300, "256x256"],
|
264 |
+
["Japanese garden with cherry blossoms", 'Hitokomoru Style', 20, 7.0, 789, 'Contrast', 250, "256x256"],
|
265 |
],
|
266 |
inputs=[text, style, inference_step, guidance_scale, seed, guidance_method, loss_scale, image_size],
|
267 |
outputs=[output_image, output_image_guided],
|
268 |
fn=inference,
|
269 |
+
cache_examples=True, # Disable caching
|
270 |
)
|
271 |
|
272 |
if __name__ == "__main__":
|