sagar007 commited on
Commit
3365ddf
·
verified ·
1 Parent(s): 21e3bc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -8
app.py CHANGED
@@ -252,14 +252,23 @@ with gr.Blocks(css=HTML_TEMPLATE) as demo:
252
  outputs=[output_image, output_image_guided]
253
  )
254
 
255
- gr.Examples(
256
- examples=[
257
- ["A mystical floating island with cascading waterfalls and ethereal butterflies", 'Illustration Style', 20, 7.5, 42, 'Grayscale', 200, "256x256"]
258
- ],
259
- inputs=[text, style, inference_step, guidance_scale, seed, guidance_method, loss_scale, image_size],
260
- outputs=[output_image, output_image_guided],
261
- fn=inference,
262
- cache_examples=True,
 
 
 
 
 
 
 
 
 
263
  )
264
 
265
  if __name__ == "__main__":
 
252
  outputs=[output_image, output_image_guided]
253
  )
254
 
255
+ Updated gr.Examples with additional examples
256
+
257
+ gr.Examples(
258
+ examples=[
259
+ ["A mystical floating island with cascading waterfalls and ethereal butterflies", 'Illustration Style', 20, 7.5, 42, 'Grayscale', 200, "256x256"],
260
+ ["A futuristic cityscape with flying cars and neon lights", 'Line Art', 30, 8.0, 123, 'Bright', 300, "512x512"],
261
+ ["A serene Japanese garden with cherry blossoms and a koi pond", 'Hitokomoru Style', 25, 7.0, 789, 'Contrast', 250, "256x256"],
262
+ ["An abstract representation of human emotions", 'Marc Allante', 35, 8.5, 456, 'Symmetry', 400, "512x512"],
263
+ ["A epic fantasy battle scene with dragons and wizards", 'Midjourney', 40, 9.0, 987, 'Saturation', 500, "512x512"],
264
+ ["A elegant princess in traditional Chinese Hanfu dress", 'Hanfu Anime', 22, 7.2, 654, 'Grayscale', 180, "256x256"],
265
+ ["A whimsical bird's eye view of a colorful theme park", 'Birb Style', 28, 7.8, 321, 'Bright', 350, "512x512"],
266
+ ],
267
+ inputs=[text, style, inference_step, guidance_scale, seed, guidance_method, loss_scale, image_size],
268
+ outputs=[output_image, output_image_guided],
269
+ fn=inference,
270
+ cache_examples=True,
271
+
272
  )
273
 
274
  if __name__ == "__main__":