Cognomen commited on
Commit
d860de2
β€’
1 Parent(s): 504dfe8

add more examples

Browse files
Files changed (3) hide show
  1. app.py +8 -1
  2. wikipe_cond_2.png +0 -0
  3. wikipe_cond_3.png +0 -0
app.py CHANGED
@@ -74,6 +74,8 @@ def infer(prompt, negative_prompt, image):
74
  prng_seed=rng,
75
  num_inference_steps=50,
76
  neg_prompt_ids=n_prompt_in,
 
 
77
  jit=True,
78
  ).images
79
 
@@ -98,7 +100,12 @@ gr.Interface(
98
  outputs=gr.Gallery().style(grid=[2], height="auto"),
99
  title="Generate controlled outputs with Categorical Conditioning on Waifu Diffusion 1.5 beta 2.",
100
  description="This Space uses image examples as style conditioning.",
101
- examples=[["1girl, green hair, sweater, looking at viewer, upper body, beanie, outdoors, watercolor, night, turtleneck", "realistic, real life", "wikipe_cond_1.png"]],
 
 
 
 
 
102
  allow_flagging=False,
103
  ).launch(enable_queue=True)
104
 
 
74
  prng_seed=rng,
75
  num_inference_steps=50,
76
  neg_prompt_ids=n_prompt_in,
77
+ width=768,
78
+ height=768,
79
  jit=True,
80
  ).images
81
 
 
100
  outputs=gr.Gallery().style(grid=[2], height="auto"),
101
  title="Generate controlled outputs with Categorical Conditioning on Waifu Diffusion 1.5 beta 2.",
102
  description="This Space uses image examples as style conditioning.",
103
+ examples=[
104
+ ["1girl, green hair, sweater, looking at viewer, upper body, beanie, outdoors, watercolor, night, turtleneck", "realistic, real life", "wikipe_cond_1.png"]
105
+
106
+ ["1girl, green hair, sweater, looking at viewer, upper body, beanie, outdoors, watercolor, night, turtleneck", "realistic, real life", "wikipe_cond_2.png"]
107
+ ["1girl, green hair, sweater, looking at viewer, upper body, beanie, outdoors, watercolor, night, turtleneck", "realistic, real life", "wikipe_cond_3.png"]
108
+ ],
109
  allow_flagging=False,
110
  ).launch(enable_queue=True)
111
 
wikipe_cond_2.png ADDED
wikipe_cond_3.png ADDED