Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -181,7 +181,7 @@ models = {key: load_and_prepare_model(value) for key, value in MODEL_OPTIONS.ite
|
|
181 |
|
182 |
MAX_SEED = np.iinfo(np.int32).max
|
183 |
|
184 |
-
neg_prompt_2 = " 'unrealistic skin','unattractive face':1.3, 'low quality':1.1, ('dull color scheme', 'dull colors', 'digital noise':1.2),'amateurish', 'poorly drawn face':1.3, 'poorly drawn', 'distorted face', 'low resolution', 'simplistic' "
|
185 |
|
186 |
def upload_to_ftp(filename):
|
187 |
try:
|
@@ -486,7 +486,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
486 |
max_lines=5,
|
487 |
lines=4,
|
488 |
placeholder="Enter a negative prompt",
|
489 |
-
value="('deformed', 'distorted', 'disfigured':1.3), 'poorly drawn', 'bad anatomy', 'wrong anatomy', 'extra limb', 'missing limb', 'floating limbs', 'poorly drawn hands', 'poorly drawn feet', 'poorly drawn face':1.3, 'out of frame', 'extra limbs', 'bad anatomy', 'bad art', 'beginner', 'distorted face','amateur'",
|
490 |
visible=True,
|
491 |
)
|
492 |
seed = gr.Slider(
|
|
|
181 |
|
182 |
MAX_SEED = np.iinfo(np.int32).max
|
183 |
|
184 |
+
neg_prompt_2 = " 'non-photorealistic':1.5, 'unrealistic skin','unattractive face':1.3, 'low quality':1.1, ('dull color scheme', 'dull colors', 'digital noise':1.2),'amateurish', 'poorly drawn face':1.3, 'poorly drawn', 'distorted face', 'low resolution', 'simplistic' "
|
185 |
|
186 |
def upload_to_ftp(filename):
|
187 |
try:
|
|
|
486 |
max_lines=5,
|
487 |
lines=4,
|
488 |
placeholder="Enter a negative prompt",
|
489 |
+
value="('deformed', 'distorted', 'disfigured':1.3),'not photorealistic':1.5, 'poorly drawn', 'bad anatomy', 'wrong anatomy', 'extra limb', 'missing limb', 'floating limbs', 'poorly drawn hands', 'poorly drawn feet', 'poorly drawn face':1.3, 'out of frame', 'extra limbs', 'bad anatomy', 'bad art', 'beginner', 'distorted face','amateur'",
|
490 |
visible=True,
|
491 |
)
|
492 |
seed = gr.Slider(
|