Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,24 +63,23 @@ with gr.Blocks(css=css) as demo:
|
|
| 63 |
placeholder="Enter a prompt"
|
| 64 |
)
|
| 65 |
|
| 66 |
-
negative_prompt = gr.Text(
|
| 67 |
-
label="Negative Prompt",
|
| 68 |
-
show_label=False,
|
| 69 |
-
placeholder="Enter a negative prompt"
|
| 70 |
-
)
|
| 71 |
-
|
| 72 |
run_button = gr.Button("Generate")
|
| 73 |
|
| 74 |
-
with gr.Accordion("Advanced
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
model = gr.Dropdown(
|
| 77 |
[
|
|
|
|
| 78 |
"digiplay/Juggernaut_final",
|
| 79 |
"digiplay/AbsoluteReality_v1.8.1",
|
| 80 |
-
"Yntec/epiCPhotoGasm"
|
| 81 |
-
"Lykon/dreamshaper-8"
|
| 82 |
],
|
| 83 |
-
value="
|
| 84 |
allow_custom_value=True,
|
| 85 |
filterable=True,
|
| 86 |
interactive=True,
|
|
@@ -95,7 +94,10 @@ with gr.Blocks(css=css) as demo:
|
|
| 95 |
value=0
|
| 96 |
)
|
| 97 |
|
| 98 |
-
randomize_seed = gr.Checkbox(
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
with gr.Row():
|
| 101 |
|
|
|
|
| 63 |
placeholder="Enter a prompt"
|
| 64 |
)
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
run_button = gr.Button("Generate")
|
| 67 |
|
| 68 |
+
with gr.Accordion("Advanced", open=False):
|
| 69 |
+
|
| 70 |
+
negative_prompt = gr.Text(
|
| 71 |
+
label="Negative Prompt",
|
| 72 |
+
placeholder="Enter a negative prompt"
|
| 73 |
+
)
|
| 74 |
|
| 75 |
model = gr.Dropdown(
|
| 76 |
[
|
| 77 |
+
"Lykon/dreamshaper-8",
|
| 78 |
"digiplay/Juggernaut_final",
|
| 79 |
"digiplay/AbsoluteReality_v1.8.1",
|
| 80 |
+
"Yntec/epiCPhotoGasm"
|
|
|
|
| 81 |
],
|
| 82 |
+
value="Lykon/dreamshaper-8",
|
| 83 |
allow_custom_value=True,
|
| 84 |
filterable=True,
|
| 85 |
interactive=True,
|
|
|
|
| 94 |
value=0
|
| 95 |
)
|
| 96 |
|
| 97 |
+
randomize_seed = gr.Checkbox(
|
| 98 |
+
label="Random Seed",
|
| 99 |
+
value=True
|
| 100 |
+
)
|
| 101 |
|
| 102 |
with gr.Row():
|
| 103 |
|