jychen0828 commited on
Commit
907f5c4
·
verified ·
1 Parent(s): 23b8abd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -116,11 +116,10 @@ with gr.Blocks(css=css) as demo:
116
  with gr.Column(scale=4):
117
  output = gr.Image(label="Your Generated Image")
118
 
119
- # person="Portrait of a girl, high-end photography, prominent facial details, significant depth of field, soft lighting, late afternoon sun, in the style of Richard Avedon, Henri Cartier-Bresson, and Yousuf Karsh. Golden ratio composition, exquisite detail, Hasselblad H6D-100c, featured on the cover of photography magazines."
120
- person2="A radiant woman with soft, youthful skin, her lips lightly tinted in a natural pink, and her large, round eyes framed by thick lashes, posing gracefully in a traditional kimono among red maple leaves."
121
  person1="A young woman with strikingly symmetrical features, smooth porcelain skin, and large hazel eyes framed by thick, wavy auburn hair, sitting beside a window where soft sunlight highlights her high cheekbones and glossy lips."
 
 
122
  dog="Portrait photo of a Shiba Inu, photograph, highly detailed fur, warm and cheerful light, soft pastel tones, vibrant and sunny atmosphere, style by Tim Flach, bright daylight, natural setting, centered, extremely detailed, Nikon D850, award-winning photography"
123
- bird="Witness the grace of a crane in flight at dusk, its every feather etched with clarity by a high-resolution lens. The swift motion is arrested by a quick shutter, set against the peaceful backdrop of a wetland at twilight. "
124
  fox="A majestic Arctic fox standing gracefully on a snowy tundra, its thick white fur blending seamlessly with the icy surroundings. The texture of the fox's fur is highly detailed, showcasing its fluffy and warm coat. "
125
  scenery1="A quiet autumn street lined with maple trees, their vibrant red and orange leaves falling gently to the ground. The pavement is partially covered with scattered leaves, while a soft breeze stirs the branches. Sunlight filters through the canopy, casting warm, dappled light on the sidewalk. A lone cyclist rides down the street, and a few pedestrians stroll along, enjoying the crisp autumn air. The scene captures the serene beauty and subtle movement of an autumn day."
126
  scenery2="A high-detail close-up of the Forbidden City's architectural details, with snowflakes gracefully falling. Shot on a Nikon D850, the 45.7-megapixel sensor captures the scene's bright warmth. A fast shutter speed at a low ISO freezes the snowflakes, ensuring a crisp, vivid image. Ideal for a winter magazine feature."
@@ -129,11 +128,11 @@ with gr.Blocks(css=css) as demo:
129
  # [person, "TDD", 1024, 1024, 8, 2, 8888],
130
  [person1, "TDD_adv", 1024, 1024, 8, 2.1, 5685],
131
  [person2, "TDD_adv", 1024, 1024, 8, 2, 8888],
 
132
  [dog, "TDD", 1024, 1024, 6, 2, 29],
133
- [bird,"TDD_adv", 1024, 1024, 8, 2.5, 7777],
134
  [fox,"TDD_adv", 1024, 1024, 8, 2.1, 4678],
135
- [scenery1, "TDD_adv", 1024, 1024, 8, 3.0, 9669],
136
- [scenery2, "TDD", 1024, 1024, 6, 1.8, 3420],
137
  ],
138
  # inputs=[prompt, negative_prompt, ckpt, acc, steps, guidance_scale, eta, seed],
139
  inputs=[prompt,acc, height, width, steps, scales, seed],
 
116
  with gr.Column(scale=4):
117
  output = gr.Image(label="Your Generated Image")
118
 
 
 
119
  person1="A young woman with strikingly symmetrical features, smooth porcelain skin, and large hazel eyes framed by thick, wavy auburn hair, sitting beside a window where soft sunlight highlights her high cheekbones and glossy lips."
120
+ person2="A radiant woman with soft, youthful skin, her lips lightly tinted in a natural pink, and her large, round eyes framed by thick lashes, posing gracefully in a traditional kimono among red maple leaves."
121
+ person3=""A modern woman with striking blue eyes, a perfectly symmetrical face, and soft, glossy lips, sitting in a sleek interior with soft, natural light highlighting her flawless skin.""
122
  dog="Portrait photo of a Shiba Inu, photograph, highly detailed fur, warm and cheerful light, soft pastel tones, vibrant and sunny atmosphere, style by Tim Flach, bright daylight, natural setting, centered, extremely detailed, Nikon D850, award-winning photography"
 
123
  fox="A majestic Arctic fox standing gracefully on a snowy tundra, its thick white fur blending seamlessly with the icy surroundings. The texture of the fox's fur is highly detailed, showcasing its fluffy and warm coat. "
124
  scenery1="A quiet autumn street lined with maple trees, their vibrant red and orange leaves falling gently to the ground. The pavement is partially covered with scattered leaves, while a soft breeze stirs the branches. Sunlight filters through the canopy, casting warm, dappled light on the sidewalk. A lone cyclist rides down the street, and a few pedestrians stroll along, enjoying the crisp autumn air. The scene captures the serene beauty and subtle movement of an autumn day."
125
  scenery2="A high-detail close-up of the Forbidden City's architectural details, with snowflakes gracefully falling. Shot on a Nikon D850, the 45.7-megapixel sensor captures the scene's bright warmth. A fast shutter speed at a low ISO freezes the snowflakes, ensuring a crisp, vivid image. Ideal for a winter magazine feature."
 
128
  # [person, "TDD", 1024, 1024, 8, 2, 8888],
129
  [person1, "TDD_adv", 1024, 1024, 8, 2.1, 5685],
130
  [person2, "TDD_adv", 1024, 1024, 8, 2, 8888],
131
+ [person3,"TDD_adv", 1024, 1024, 6, 1.8, 3420]
132
  [dog, "TDD", 1024, 1024, 6, 2, 29],
 
133
  [fox,"TDD_adv", 1024, 1024, 8, 2.1, 4678],
134
+ [scenery1, "TDD_adv", 1024, 1024, 8, 2.5, 9669],
135
+ [scenery2, "TDD_adv", 1024, 1024, 6, 1.8, 3420],
136
  ],
137
  # inputs=[prompt, negative_prompt, ckpt, acc, steps, guidance_scale, eta, seed],
138
  inputs=[prompt,acc, height, width, steps, scales, seed],