gokaygokay commited on
Commit
26de42f
1 Parent(s): 1cc333a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -21
app.py CHANGED
@@ -399,30 +399,30 @@ def create_interface():
399
  subject = gr.Textbox(label="Subject (optional)")
400
 
401
  with gr.Accordion("Artform and Photo Type", open=False):
402
- artform = gr.Dropdown(["disabled"] + ARTFORM, label="Artform", value="disabled")
403
- photo_type = gr.Dropdown(["disabled"] + PHOTO_TYPE, label="Photo Type", value="disabled")
404
-
405
  with gr.Accordion("Character Details", open=False):
406
- body_types = gr.Dropdown(["disabled"] + BODY_TYPES, label="Body Types", value="disabled")
407
- default_tags = gr.Dropdown(["disabled"] + DEFAULT_TAGS, label="Default Tags", value="disabled")
408
- roles = gr.Dropdown(["disabled"] + ROLES, label="Roles", value="disabled")
409
- hairstyles = gr.Dropdown(["disabled"] + HAIRSTYLES, label="Hairstyles", value="disabled")
410
- clothing = gr.Dropdown(["disabled"] + CLOTHING, label="Clothing", value="disabled")
411
-
412
  with gr.Accordion("Scene Details", open=False):
413
- place = gr.Dropdown(["disabled"] + PLACE, label="Place", value="disabled")
414
- lighting = gr.Dropdown(["disabled"] + LIGHTING, label="Lighting", value="disabled")
415
- composition = gr.Dropdown(["disabled"] + COMPOSITION, label="Composition", value="disabled")
416
- pose = gr.Dropdown(["disabled"] + POSE, label="Pose", value="disabled")
417
- background = gr.Dropdown(["disabled"] + BACKGROUND, label="Background", value="disabled")
418
-
419
  with gr.Accordion("Style and Artist", open=False):
420
- additional_details = gr.Dropdown(["disabled"] + ADDITIONAL_DETAILS, label="Additional Details", value="disabled")
421
- photography_styles = gr.Dropdown(["disabled"] + PHOTOGRAPHY_STYLES, label="Photography Styles", value="disabled")
422
- device = gr.Dropdown(["disabled"] + DEVICE, label="Device", value="disabled")
423
- photographer = gr.Dropdown(["disabled"] + PHOTOGRAPHER, label="Photographer", value="disabled")
424
- artist = gr.Dropdown(["disabled"] + ARTIST, label="Artist", value="disabled")
425
- digital_artform = gr.Dropdown(["disabled"] + DIGITAL_ARTFORM, label="Digital Artform", value="disabled")
426
 
427
  generate_button = gr.Button("Generate Prompt")
428
 
 
399
  subject = gr.Textbox(label="Subject (optional)")
400
 
401
  with gr.Accordion("Artform and Photo Type", open=False):
402
+ artform = gr.Dropdown(["disabled", "random"] + ARTFORM, label="Artform", value="disabled")
403
+ photo_type = gr.Dropdown(["disabled", "random"] + PHOTO_TYPE, label="Photo Type", value="disabled")
404
+
405
  with gr.Accordion("Character Details", open=False):
406
+ body_types = gr.Dropdown(["disabled", "random"] + BODY_TYPES, label="Body Types", value="disabled")
407
+ default_tags = gr.Dropdown(["disabled", "random"] + DEFAULT_TAGS, label="Default Tags", value="disabled")
408
+ roles = gr.Dropdown(["disabled", "random"] + ROLES, label="Roles", value="disabled")
409
+ hairstyles = gr.Dropdown(["disabled", "random"] + HAIRSTYLES, label="Hairstyles", value="disabled")
410
+ clothing = gr.Dropdown(["disabled", "random"] + CLOTHING, label="Clothing", value="disabled")
411
+
412
  with gr.Accordion("Scene Details", open=False):
413
+ place = gr.Dropdown(["disabled", "random"] + PLACE, label="Place", value="disabled")
414
+ lighting = gr.Dropdown(["disabled", "random"] + LIGHTING, label="Lighting", value="disabled")
415
+ composition = gr.Dropdown(["disabled", "random"] + COMPOSITION, label="Composition", value="disabled")
416
+ pose = gr.Dropdown(["disabled", "random"] + POSE, label="Pose", value="disabled")
417
+ background = gr.Dropdown(["disabled", "random"] + BACKGROUND, label="Background", value="disabled")
418
+
419
  with gr.Accordion("Style and Artist", open=False):
420
+ additional_details = gr.Dropdown(["disabled", "random"] + ADDITIONAL_DETAILS, label="Additional Details", value="disabled")
421
+ photography_styles = gr.Dropdown(["disabled", "random"] + PHOTOGRAPHY_STYLES, label="Photography Styles", value="disabled")
422
+ device = gr.Dropdown(["disabled", "random"] + DEVICE, label="Device", value="disabled")
423
+ photographer = gr.Dropdown(["disabled", "random"] + PHOTOGRAPHER, label="Photographer", value="disabled")
424
+ artist = gr.Dropdown(["disabled", "random"] + ARTIST, label="Artist", value="disabled")
425
+ digital_artform = gr.Dropdown(["disabled", "random"] + DIGITAL_ARTFORM, label="Digital Artform", value="disabled")
426
 
427
  generate_button = gr.Button("Generate Prompt")
428