Update app.py
Browse files
app.py
CHANGED
|
@@ -103,14 +103,12 @@ def make_me():
|
|
| 103 |
model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models from the 800 available!', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)
|
| 104 |
model_choice.change(update_imgbox, model_choice, output)
|
| 105 |
model_choice.change(extend_choices, model_choice, current_models)
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
"""
|
| 113 |
-
)
|
| 114 |
|
| 115 |
|
| 116 |
with gr.Blocks(theme="miittnnss/green", title="Play with Stable Diffusion Models") as playground:
|
|
@@ -137,6 +135,24 @@ with gr.Blocks(theme="miittnnss/green", title="Play with Stable Diffusion Models
|
|
| 137 |
with gr.Accordion("Advanced settings", open=False):
|
| 138 |
negative_prompt = gr.Textbox(label="Negative Prompt", value="text, blurry, fuzziness", lines=1, elem_id="negative-prompt-text-input")
|
| 139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
with gr.Blocks() as demo:
|
| 141 |
make_me()
|
| 142 |
|
|
|
|
| 103 |
model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models from the 800 available!', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)
|
| 104 |
model_choice.change(update_imgbox, model_choice, output)
|
| 105 |
model_choice.change(extend_choices, model_choice, current_models)
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
|
|
|
|
|
|
|
| 112 |
|
| 113 |
|
| 114 |
with gr.Blocks(theme="miittnnss/green", title="Play with Stable Diffusion Models") as playground:
|
|
|
|
| 135 |
with gr.Accordion("Advanced settings", open=False):
|
| 136 |
negative_prompt = gr.Textbox(label="Negative Prompt", value="text, blurry, fuzziness", lines=1, elem_id="negative-prompt-text-input")
|
| 137 |
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
with gr.Row():
|
| 148 |
+
gr.HTML(
|
| 149 |
+
"""
|
| 150 |
+
<div class="footer">
|
| 151 |
+
<p> Based on the <a href="https://huggingface.co/spaces/derwahnsinn/TestGen">TestGen</a> Space by derwahnsinn, the <a href="https://huggingface.co/spaces/RdnUser77/SpacIO_v1">SpacIO</a> Space by RdnUser77 and Omnibus's Maximum Multiplier!
|
| 152 |
+
</p>
|
| 153 |
+
"""
|
| 154 |
+
)
|
| 155 |
+
|
| 156 |
with gr.Blocks() as demo:
|
| 157 |
make_me()
|
| 158 |
|