Leteint commited on
Commit
a1145cd
·
verified ·
1 Parent(s): b03f1b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -135,7 +135,7 @@ pipe = load_pipeline()
135
  # ---------------------------
136
 
137
  @spaces.GPU
138
- def generate(face_image, prompt, negative_prompt="", steps=40, guidance_scale=3.5, height=1024, width=768):
139
  """
140
  face_image : image contenant le visage de référence
141
  prompt : description du corps, tenue, décor, style
@@ -195,16 +195,16 @@ with gr.Blocks() as demo:
195
  label="Prompt",
196
  lines=3,
197
  value=(
198
- "photorealistic full body firefighter uniform, helmet, reflective stripes, "
199
- "standing in front of a fire truck at night, cinematic lighting, same identity"
200
  ),
201
  )
202
 
203
  neg_prompt = gr.Textbox(
204
  label="Negative",
205
  value=(
206
- "lowres, deformed, extra limbs, bad anatomy, text, watermark, "
207
- "blurry, cartoon, drawing, illustration"
208
  ),
209
  )
210
 
 
135
  # ---------------------------
136
 
137
  @spaces.GPU
138
+ def generate(face_image, prompt, negative_prompt="", steps=30, guidance_scale=5, height=1024, width=768):
139
  """
140
  face_image : image contenant le visage de référence
141
  prompt : description du corps, tenue, décor, style
 
195
  label="Prompt",
196
  lines=3,
197
  value=(
198
+ "photorealistic full body portrait, firefighter uniform with detailed fabric, "
199
+ "realistic studio lighting, 35mm DSLR, sharp focus on face, clean background, high resolution"
200
  ),
201
  )
202
 
203
  neg_prompt = gr.Textbox(
204
  label="Negative",
205
  value=(
206
+ "cartoon, anime, painting, illustration, lowres, blurry, deformed, bad anatomy, "
207
+ "extra limbs, waxy skin, oversharpen, text, watermark"
208
  ),
209
  )
210