Spaces:
Running
on
Zero
Running
on
Zero
Update presets.py
Browse files- presets.py +74 -7
presets.py
CHANGED
|
@@ -30,9 +30,9 @@ PRESETS = {
|
|
| 30 |
"prompts": [
|
| 31 |
"frontal view of the subject, facing camera directly",
|
| 32 |
"side view of subject, profile view from the side",
|
| 33 |
-
"
|
| 34 |
],
|
| 35 |
-
"description": "Generate
|
| 36 |
},
|
| 37 |
"Style Variations": {
|
| 38 |
"count": 3,
|
|
@@ -61,16 +61,83 @@ PRESETS = {
|
|
| 61 |
],
|
| 62 |
"description": "Show the subject in different hairstyles"
|
| 63 |
},
|
| 64 |
-
"
|
| 65 |
-
"count":
|
| 66 |
"prompts": [
|
| 67 |
-
"
|
| 68 |
-
"
|
|
|
|
|
|
|
| 69 |
],
|
| 70 |
-
"description": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
}
|
| 72 |
}
|
| 73 |
|
|
|
|
|
|
|
| 74 |
def get_preset_choices():
|
| 75 |
"""
|
| 76 |
Return list of preset choices for Gradio dropdown.
|
|
|
|
| 30 |
"prompts": [
|
| 31 |
"frontal view of the subject, facing camera directly",
|
| 32 |
"side view of subject, profile view from the side",
|
| 33 |
+
"dutch angle shot of subject, candid photography"
|
| 34 |
],
|
| 35 |
+
"description": "Generate three different views of the subject"
|
| 36 |
},
|
| 37 |
"Style Variations": {
|
| 38 |
"count": 3,
|
|
|
|
| 61 |
],
|
| 62 |
"description": "Show the subject in different hairstyles"
|
| 63 |
},
|
| 64 |
+
"Seasonal Themes": {
|
| 65 |
+
"count": 4,
|
| 66 |
"prompts": [
|
| 67 |
+
"in a snowy winter landscape, snowflakes falling gently",
|
| 68 |
+
"in a sunny summer meadow, bright sunshine",
|
| 69 |
+
"in a crisp autumn forest, leaves turning orange",
|
| 70 |
+
"in a misty spring garden, blooming flowers"
|
| 71 |
],
|
| 72 |
+
"description": "Render the subject in each of the four seasons"
|
| 73 |
+
},
|
| 74 |
+
|
| 75 |
+
"Emotional Mood": {
|
| 76 |
+
"count": 4,
|
| 77 |
+
"prompts": [
|
| 78 |
+
"with a joyful grin, eyes sparkling",
|
| 79 |
+
"with a thoughtful expression, slightly furrowed brow",
|
| 80 |
+
"with a dramatic, intense stare",
|
| 81 |
+
"with a gentle, serene smile"
|
| 82 |
+
],
|
| 83 |
+
"description": "Show the subject’s emotions in four different moods"
|
| 84 |
+
},
|
| 85 |
+
|
| 86 |
+
"Historical Eras": {
|
| 87 |
+
"count": 4,
|
| 88 |
+
"prompts": [
|
| 89 |
+
"in Victorian England, ornate lace and corset",
|
| 90 |
+
"in the 1980s, neon lights and big hair",
|
| 91 |
+
"in a medieval castle, knight armor",
|
| 92 |
+
"in a futuristic cyber‑punk city, holographic backdrop"
|
| 93 |
+
],
|
| 94 |
+
"description": "Place the subject in four iconic time periods"
|
| 95 |
+
},
|
| 96 |
+
|
| 97 |
+
"Camera Lens Effects": {
|
| 98 |
+
"count": 4,
|
| 99 |
+
"prompts": [
|
| 100 |
+
"captured with a wide‑angle lens, exaggerated perspective",
|
| 101 |
+
"shot with a telephoto lens, shallow depth of field",
|
| 102 |
+
"taken with a fisheye lens, circular distortion",
|
| 103 |
+
"rendered with a macro lens, extreme close‑up detail"
|
| 104 |
+
],
|
| 105 |
+
"description": "Play with different lens styles for the same subject"
|
| 106 |
+
},
|
| 107 |
+
|
| 108 |
+
"Fantasy Elements": {
|
| 109 |
+
"count": 3,
|
| 110 |
+
"prompts": [
|
| 111 |
+
"surrounded by a swirling vortex of light",
|
| 112 |
+
"hovering above a floating island in the clouds",
|
| 113 |
+
"paired with a companion dragon, breathing fire",
|
| 114 |
+
],
|
| 115 |
+
"description": "Add a fantastical twist to each rendition"
|
| 116 |
+
},
|
| 117 |
+
|
| 118 |
+
"Texture Variations": {
|
| 119 |
+
"count": 3,
|
| 120 |
+
"prompts": [
|
| 121 |
+
"covered in soft velvet, plush texture",
|
| 122 |
+
"painted with glossy enamel, shiny finish",
|
| 123 |
+
"wrapped in intricate lace patterns",
|
| 124 |
+
],
|
| 125 |
+
"description": "Show the subject in three distinct surface textures"
|
| 126 |
+
},
|
| 127 |
+
|
| 128 |
+
"Color Palette Swaps": {
|
| 129 |
+
"count": 3,
|
| 130 |
+
"prompts": [
|
| 131 |
+
"in pastel colors, soft hues",
|
| 132 |
+
"with neon saturation, high‑contrast glow",
|
| 133 |
+
"in monochrome black & white, dramatic contrast"
|
| 134 |
+
],
|
| 135 |
+
"description": "Recolor the subject with three distinct palettes"
|
| 136 |
}
|
| 137 |
}
|
| 138 |
|
| 139 |
+
|
| 140 |
+
|
| 141 |
def get_preset_choices():
|
| 142 |
"""
|
| 143 |
Return list of preset choices for Gradio dropdown.
|