Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,20 +36,11 @@ examples = [
|
|
| 36 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
|
| 37 |
"An astronaut riding a green horse",
|
| 38 |
"A delicious ceviche cheesecake slice",
|
|
|
|
| 39 |
]
|
| 40 |
|
| 41 |
-
|
| 42 |
-
#
|
| 43 |
-
margin: 0 auto;
|
| 44 |
-
max-width: 520px;
|
| 45 |
-
}
|
| 46 |
-
"""
|
| 47 |
-
|
| 48 |
-
with gr.Blocks(css=css) as demo:
|
| 49 |
-
|
| 50 |
-
with gr.Column(elem_id="col-container"):
|
| 51 |
-
gr.Markdown("""# SDXL Flash""")
|
| 52 |
-
|
| 53 |
with gr.Row():
|
| 54 |
|
| 55 |
prompt = gr.Text(
|
|
@@ -62,7 +53,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 62 |
|
| 63 |
run_button = gr.Button("Run", scale=0)
|
| 64 |
|
| 65 |
-
result = gr.Image(label="Result"
|
| 66 |
|
| 67 |
with gr.Accordion("Advanced Settings", open=False):
|
| 68 |
|
|
@@ -70,7 +61,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 70 |
label="Negative prompt",
|
| 71 |
max_lines=1,
|
| 72 |
placeholder="Enter a negative prompt",
|
| 73 |
-
value = "Ugly, malformed, noise, blur, watermark",
|
| 74 |
)
|
| 75 |
|
| 76 |
seed = gr.Slider(
|
|
|
|
| 36 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
|
| 37 |
"An astronaut riding a green horse",
|
| 38 |
"A delicious ceviche cheesecake slice",
|
| 39 |
+
"Alien holding board with word flash on it",
|
| 40 |
]
|
| 41 |
|
| 42 |
+
with gr.Blocks() as demo:
|
| 43 |
+
gr.Markdown("""# SDXL Flash""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
with gr.Row():
|
| 45 |
|
| 46 |
prompt = gr.Text(
|
|
|
|
| 53 |
|
| 54 |
run_button = gr.Button("Run", scale=0)
|
| 55 |
|
| 56 |
+
result = gr.Image(label="Result")
|
| 57 |
|
| 58 |
with gr.Accordion("Advanced Settings", open=False):
|
| 59 |
|
|
|
|
| 61 |
label="Negative prompt",
|
| 62 |
max_lines=1,
|
| 63 |
placeholder="Enter a negative prompt",
|
| 64 |
+
value = "Ugly, malformed, noise, blur, watermark, distorted",
|
| 65 |
)
|
| 66 |
|
| 67 |
seed = gr.Slider(
|