Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,6 +124,19 @@ css = """
|
|
| 124 |
}
|
| 125 |
"""
|
| 126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
with gr.Blocks(css=css) as demo:
|
| 128 |
with gr.Column(elem_id="col-container"):
|
| 129 |
gr.Markdown(" # Text-to-Image Gradio Template from V. Gorsky")
|
|
@@ -184,7 +197,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 184 |
value=30,
|
| 185 |
)
|
| 186 |
|
| 187 |
-
with gr.Accordion("
|
| 188 |
with gr.Row():
|
| 189 |
width = gr.Slider(
|
| 190 |
label="Width",
|
|
|
|
| 124 |
}
|
| 125 |
"""
|
| 126 |
|
| 127 |
+
available_models = [
|
| 128 |
+
"stable-diffusion-v1-5/stable-diffusion-v1-5",
|
| 129 |
+
"SG161222/Realistic_Vision_V3.0_VAE",
|
| 130 |
+
"CompVis/stable-diffusion-v1-4",
|
| 131 |
+
"stabilityai/sdxl-turbo",
|
| 132 |
+
"runwayml/stable-diffusion-v1-5",
|
| 133 |
+
"sd-legacy/stable-diffusion-v1-5",
|
| 134 |
+
"prompthero/openjourney",
|
| 135 |
+
"stabilityai/stable-diffusion-3-medium-diffusers",
|
| 136 |
+
"stabilityai/stable-diffusion-3.5-large",
|
| 137 |
+
"stabilityai/stable-diffusion-3.5-large-turbo",
|
| 138 |
+
]
|
| 139 |
+
|
| 140 |
with gr.Blocks(css=css) as demo:
|
| 141 |
with gr.Column(elem_id="col-container"):
|
| 142 |
gr.Markdown(" # Text-to-Image Gradio Template from V. Gorsky")
|
|
|
|
| 197 |
value=30,
|
| 198 |
)
|
| 199 |
|
| 200 |
+
with gr.Accordion("Advanced Settings", open=False):
|
| 201 |
with gr.Row():
|
| 202 |
width = gr.Slider(
|
| 203 |
label="Width",
|