sagar007 commited on
Commit
fdee25f
·
verified ·
1 Parent(s): f89ff97

Update app.py

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