Spaces:
Running
Running
gokaygokay
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -343,31 +343,31 @@ def create_interface():
|
|
343 |
gr.Markdown("# AI Prompt Generator and Text Generator")
|
344 |
|
345 |
with gr.Tab("Prompt Generator"):
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
|
372 |
generate_button = gr.Button("Generate Prompt")
|
373 |
output = gr.Textbox(label="Generated Prompt")
|
|
|
343 |
gr.Markdown("# AI Prompt Generator and Text Generator")
|
344 |
|
345 |
with gr.Tab("Prompt Generator"):
|
346 |
+
|
347 |
+
with gr.Column():
|
348 |
+
seed = gr.Number(label="Seed", value=0)
|
349 |
+
custom = gr.Textbox(label="Custom")
|
350 |
+
subject = gr.Textbox(label="Subject")
|
351 |
+
artform = gr.Dropdown(["disabled", "random"] + ARTFORM, label="Artform", value="photography")
|
352 |
+
photo_type = gr.Dropdown(["disabled", "random"] + PHOTO_TYPE, label="Photo Type", value="random")
|
353 |
+
body_types = gr.Dropdown(["disabled", "random"] + BODY_TYPES, label="Body Types", value="random")
|
354 |
+
default_tags = gr.Dropdown(["disabled", "random"] + DEFAULT_TAGS, label="Default Tags", value="random")
|
355 |
+
with gr.Column():
|
356 |
+
roles = gr.Dropdown(["disabled", "random"] + ROLES, label="Roles", value="random")
|
357 |
+
hairstyles = gr.Dropdown(["disabled", "random"] + HAIRSTYLES, label="Hairstyles", value="random")
|
358 |
+
additional_details = gr.Dropdown(["disabled", "random"] + ADDITIONAL_DETAILS, label="Additional Details", value="random")
|
359 |
+
photography_styles = gr.Dropdown(["disabled", "random"] + PHOTOGRAPHY_STYLES, label="Photography Styles", value="random")
|
360 |
+
device = gr.Dropdown(["disabled", "random"] + DEVICE, label="Device", value="random")
|
361 |
+
photographer = gr.Dropdown(["disabled", "random"] + PHOTOGRAPHER, label="Photographer", value="random")
|
362 |
+
with gr.Column():
|
363 |
+
artist = gr.Dropdown(["disabled", "random"] + ARTIST, label="Artist", value="random")
|
364 |
+
digital_artform = gr.Dropdown(["disabled", "random"] + DIGITAL_ARTFORM, label="Digital Artform", value="random")
|
365 |
+
place = gr.Dropdown(["disabled", "random"] + PLACE, label="Place", value="random")
|
366 |
+
lighting = gr.Dropdown(["disabled", "random"] + LIGHTING, label="Lighting", value="random")
|
367 |
+
clothing = gr.Dropdown(["disabled", "random"] + CLOTHING, label="Clothing", value="random")
|
368 |
+
composition = gr.Dropdown(["disabled", "random"] + COMPOSITION, label="Composition", value="random")
|
369 |
+
pose = gr.Dropdown(["disabled", "random"] + POSE, label="Pose", value="random")
|
370 |
+
background = gr.Dropdown(["disabled", "random"] + BACKGROUND, label="Background", value="random")
|
371 |
|
372 |
generate_button = gr.Button("Generate Prompt")
|
373 |
output = gr.Textbox(label="Generated Prompt")
|