Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
from threading import RLock
|
7 |
from datetime import datetime
|
8 |
|
9 |
-
preSetPrompt = "High fashion studio foto shoot. tall slender 18+ caucasian woman. gorgeous face. photorealistic. f1.4"
|
10 |
negPreSetPrompt = "[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness"
|
11 |
|
12 |
lock = RLock()
|
@@ -233,7 +233,7 @@ with gr.Blocks(head=CSS + JS) as demo:
|
|
233 |
|
234 |
with gr.Column(scale=4):
|
235 |
with gr.Accordion('Model selection'):
|
236 |
-
model_choice = gr.CheckboxGroup(models, label = f'Choose up to {int(num_models)} different models from the {len(models)} available!', value=default_models, interactive=True)
|
237 |
model_choice.change(update_imgbox, model_choice, output)
|
238 |
model_choice.change(extend_choices, model_choice, current_models)
|
239 |
random_button.click(random_choices, None, model_choice)
|
|
|
6 |
from threading import RLock
|
7 |
from datetime import datetime
|
8 |
|
9 |
+
preSetPrompt = "High fashion studio foto shoot. tall slender 18+ caucasian woman. gorgeous face. high waist sexy bodysuit. photorealistic. f1.4"
|
10 |
negPreSetPrompt = "[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness"
|
11 |
|
12 |
lock = RLock()
|
|
|
233 |
|
234 |
with gr.Column(scale=4):
|
235 |
with gr.Accordion('Model selection'):
|
236 |
+
model_choice = gr.CheckboxGroup(models, label = f'Choose up to {int(num_models)} different models from the {len(models)} available!', value=default_models, interactive=True, elem_classes=["butt"])
|
237 |
model_choice.change(update_imgbox, model_choice, output)
|
238 |
model_choice.change(extend_choices, model_choice, current_models)
|
239 |
random_button.click(random_choices, None, model_choice)
|