Update app.py
Browse files
app.py
CHANGED
@@ -119,17 +119,16 @@ with gr.Blocks(css=css) as demo:
|
|
119 |
|
120 |
<b>Prompt</b>:
|
121 |
<details><code>
|
122 |
-
portrait+ style
|
123 |
<br>
|
124 |
<br>
|
125 |
-
<q><i>Example:
|
126 |
-
</i></q>
|
127 |
</code></details>
|
128 |
<q><em>Important note: Portrait+ works best at a 1:1 aspect ratio, it is also successful using tall aspect ratios as well.</em></q>
|
129 |
<br>
|
130 |
<b>Negative Prompt</b>:
|
131 |
<details><code>
|
132 |
-
lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature
|
133 |
</code></details>
|
134 |
<br>
|
135 |
Have Fun & Enjoy ⚡ <a href="https://www.thafx.com"><abbr title="Website">//THAFX</abbr></a>
|
@@ -152,15 +151,15 @@ Have Fun & Enjoy ⚡ <a href="https://www.thafx.com"><abbr title="Website">//THA
|
|
152 |
with gr.Tab("Options"):
|
153 |
with gr.Group():
|
154 |
neg_prompt = gr.Textbox(label="Negative prompt", placeholder="What to exclude from the image")
|
155 |
-
auto_prefix = gr.Checkbox(label="Prefix styling tokens automatically (
|
156 |
|
157 |
with gr.Row():
|
158 |
-
guidance = gr.Slider(label="Guidance scale", value=7
|
159 |
-
steps = gr.Slider(label="Steps", value=
|
160 |
|
161 |
with gr.Row():
|
162 |
-
width = gr.Slider(label="Width", value=
|
163 |
-
height = gr.Slider(label="Height", value=
|
164 |
|
165 |
seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
|
166 |
|
|
|
119 |
|
120 |
<b>Prompt</b>:
|
121 |
<details><code>
|
122 |
+
portrait+ style photograph of <b>* subject * </b>, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, realistic, photo-realistic, full length frame, High detail RAW color art, piercing, diffused soft lighting, shallow depth of field, sharp focus, hyperrealism, cinematic lighting
|
123 |
<br>
|
124 |
<br>
|
125 |
+
<q><i>Example: portrait+ style photograph of Heath Ledger as Batman</i></q>
|
|
|
126 |
</code></details>
|
127 |
<q><em>Important note: Portrait+ works best at a 1:1 aspect ratio, it is also successful using tall aspect ratios as well.</em></q>
|
128 |
<br>
|
129 |
<b>Negative Prompt</b>:
|
130 |
<details><code>
|
131 |
+
blender illustration hdr lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature
|
132 |
</code></details>
|
133 |
<br>
|
134 |
Have Fun & Enjoy ⚡ <a href="https://www.thafx.com"><abbr title="Website">//THAFX</abbr></a>
|
|
|
151 |
with gr.Tab("Options"):
|
152 |
with gr.Group():
|
153 |
neg_prompt = gr.Textbox(label="Negative prompt", placeholder="What to exclude from the image")
|
154 |
+
auto_prefix = gr.Checkbox(label="Prefix styling tokens automatically (portrait+ style,)", value=prefix, visible=prefix)
|
155 |
|
156 |
with gr.Row():
|
157 |
+
guidance = gr.Slider(label="Guidance scale", value=7, maximum=15)
|
158 |
+
steps = gr.Slider(label="Steps", value=20, minimum=2, maximum=75, step=1)
|
159 |
|
160 |
with gr.Row():
|
161 |
+
width = gr.Slider(label="Width", value=768, minimum=64, maximum=1024, step=8)
|
162 |
+
height = gr.Slider(label="Height", value=768, minimum=64, maximum=1024, step=8)
|
163 |
|
164 |
seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
|
165 |
|