hmb HF Staff commited on
Commit
2d6ee1d
·
verified ·
1 Parent(s): db8d8e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -294,7 +294,7 @@ with gr.Blocks() as demo:
294
  value="long",
295
  )
296
 
297
- extra_options = gr.CheckboxGroup(
298
  choices=[
299
  "If there is a person/character in the image you must refer to them as {name}.",
300
  "Do NOT include information about people/characters that cannot be changed (like ethnicity, gender, etc), but do still include changeable attributes (like hair style).",
@@ -314,7 +314,6 @@ with gr.Blocks() as demo:
314
  "Include whether the image is sfw, suggestive, or nsfw.",
315
  "ONLY describe the most important elements of the image."
316
  ],
317
- label="Extra Options"
318
  )
319
 
320
  name_input = gr.Textbox(label="Person/Character Name (if applicable)")
 
294
  value="long",
295
  )
296
 
297
+ extra_options = gr.Dropdown(
298
  choices=[
299
  "If there is a person/character in the image you must refer to them as {name}.",
300
  "Do NOT include information about people/characters that cannot be changed (like ethnicity, gender, etc), but do still include changeable attributes (like hair style).",
 
314
  "Include whether the image is sfw, suggestive, or nsfw.",
315
  "ONLY describe the most important elements of the image."
316
  ],
 
317
  )
318
 
319
  name_input = gr.Textbox(label="Person/Character Name (if applicable)")