sagar007 commited on
Commit
f8cf548
·
verified ·
1 Parent(s): fd83397

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -258,17 +258,17 @@ with gr.Blocks(css=css) as demo:
258
  )
259
 
260
  gr.Examples(
261
- examples=[
262
- ["Floating island with waterfalls", 'Illustration Style', 50, 7.5, 42, 'Grayscale', 200, "256x256"],
263
- ["Futuristic city with neon lights", 'Line Art', 30, 8.0, 123, 'Bright', 300, "256x256"],
264
- ["Japanese garden with cherry blossoms", 'Hitokomoru Style', 40, 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,
270
- examples_per_page=5,
271
- cache_timeout=360
272
  )
273
 
274
  if __name__ == "__main__":
 
258
  )
259
 
260
  gr.Examples(
261
+ examples=[
262
+ ["Floating island with waterfalls", 'Illustration Style', 50, 7.5, 42, 'Grayscale', 200, "256x256"],
263
+ ["Futuristic city with neon lights", 'Line Art', 30, 8.0, 123, 'Bright', 300, "256x256"],
264
+ ["Japanese garden with cherry blossoms", 'Hitokomoru Style', 40, 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,
270
+ examples_per_page=5
271
+
272
  )
273
 
274
  if __name__ == "__main__":