sagar007 commited on
Commit
f8b6e68
·
verified ·
1 Parent(s): 989094e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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', 10, 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', 10, 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=False, # Disable caching
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__":