clementchadebec commited on
Commit
c1599d4
1 Parent(s): 2a9e26f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -31,8 +31,6 @@ if torch.cuda.is_available():
31
  tokenizer_3=None
32
  )
33
 
34
- if not IS_SPACE:
35
- pipe.enable_xformers_memory_efficient_attention()
36
  pipe = pipe.to(device)
37
  else:
38
  pipe = StableDiffusion3Pipeline.from_pretrained(
@@ -76,14 +74,16 @@ def infer(prompt, seed, randomize_seed):
76
 
77
  examples = [
78
  "The image showcases a freshly baked bread, possibly focaccia, with rosemary sprigs and red pepper flakes sprinkled on top. It's sliced and placed on a wire cooling rack, with a bowl of mixed peppercorns beside it.",
79
- "A raccoon reading a book in a lush forest.",
80
- "A small cactus with a happy face in the Sahara desert.",
81
- "A super-realistic close-up of a snake eye",
82
- "A cute cheetah looking amazed and surprised",
83
  "Pirate ship sailing on a sea with the milky way galaxy in the sky and purple glow lights",
84
- "a cute fluffy rabbit pilot walking on a military aircraft carrier, 8k, cinematic",
 
85
  "A close up of an old elderly man with green eyes looking straight at the camera",
86
- "A beautiful sunflower in rainy day",
 
 
87
  ]
88
 
89
  css = """
 
31
  tokenizer_3=None
32
  )
33
 
 
 
34
  pipe = pipe.to(device)
35
  else:
36
  pipe = StableDiffusion3Pipeline.from_pretrained(
 
74
 
75
  examples = [
76
  "The image showcases a freshly baked bread, possibly focaccia, with rosemary sprigs and red pepper flakes sprinkled on top. It's sliced and placed on a wire cooling rack, with a bowl of mixed peppercorns beside it.",
77
+ 'a 3D render of a wizard raccoon holding a sign saying "SD3" with a magic wand.',
78
+ "A panda reading a book in a lush forest.",
79
+ "A raccoon trapped inside a glass jar full of colorful candies, the background is steamy with vivid colors",
 
80
  "Pirate ship sailing on a sea with the milky way galaxy in the sky and purple glow lights",
81
+ "a cute cartoon fluffy rabbit pilot walking on a military aircraft carrier, 8k, cinematic",
82
+ "A 3d render of a futuristic city with a giant robot in the middle full of neon lights, pink and blue colors",
83
  "A close up of an old elderly man with green eyes looking straight at the camera",
84
+ "cinematic macro tilt shift photography sharp focus fractal triangle 3D torus pyramid crystal model in space energy flows science fiction intricate fire ice water light enery reflection elegant detailed sharp focus octane render volumetric lighting Canon 85L f2.8, vivid colors",
85
+ "photo of a huge red cat with green eyes sitting on a cloud in the sky, looking at the camera",
86
+ "A 3D render of a wizard holding a magic wand in a magic forest. There is a blue pig on the left.",
87
  ]
88
 
89
  css = """