Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -173,7 +173,16 @@ def update_random_seed():
|
|
| 173 |
|
| 174 |
# Gradio ์ธํฐํ์ด์ค
|
| 175 |
with gr.Blocks(
|
| 176 |
-
theme
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 177 |
css="""
|
| 178 |
.container {
|
| 179 |
background: linear-gradient(to bottom right, #1a1a1a, #4a4a4a);
|
|
@@ -214,7 +223,7 @@ with gr.Blocks(
|
|
| 214 |
gr.HTML(
|
| 215 |
"""
|
| 216 |
<div style="text-align: center; max-width: 800px; margin: 0 auto; padding: 20px;">
|
| 217 |
-
<h1 style="font-size: 2.5rem; color: #2196F3;">3D Style Image Generator
|
| 218 |
<p style="font-size: 1.2rem; color: #666;">Create amazing 3D-style images with AI. https://discord.gg/openfreeai </p>
|
| 219 |
</div>
|
| 220 |
"""
|
|
@@ -251,7 +260,7 @@ with gr.Blocks(
|
|
| 251 |
minimum=6,
|
| 252 |
maximum=25,
|
| 253 |
step=1,
|
| 254 |
-
value=
|
| 255 |
)
|
| 256 |
scales = gr.Slider(
|
| 257 |
label="Guidance Scale",
|
|
|
|
| 173 |
|
| 174 |
# Gradio ์ธํฐํ์ด์ค
|
| 175 |
with gr.Blocks(
|
| 176 |
+
# A more sophisticated theme
|
| 177 |
+
theme=gr.themes.Soft(
|
| 178 |
+
primary_hue="blue",
|
| 179 |
+
secondary_hue="cyan",
|
| 180 |
+
neutral_hue="gray",
|
| 181 |
+
spacing_size="md",
|
| 182 |
+
radius_size="md",
|
| 183 |
+
text_size="md",
|
| 184 |
+
font=["Open Sans", "Helvetica", "sans-serif"]
|
| 185 |
+
),
|
| 186 |
css="""
|
| 187 |
.container {
|
| 188 |
background: linear-gradient(to bottom right, #1a1a1a, #4a4a4a);
|
|
|
|
| 223 |
gr.HTML(
|
| 224 |
"""
|
| 225 |
<div style="text-align: center; max-width: 800px; margin: 0 auto; padding: 20px;">
|
| 226 |
+
<h1 style="font-size: 2.5rem; color: #2196F3;">3D Style Image Generator R1</h1>
|
| 227 |
<p style="font-size: 1.2rem; color: #666;">Create amazing 3D-style images with AI. https://discord.gg/openfreeai </p>
|
| 228 |
</div>
|
| 229 |
"""
|
|
|
|
| 260 |
minimum=6,
|
| 261 |
maximum=25,
|
| 262 |
step=1,
|
| 263 |
+
value=20
|
| 264 |
)
|
| 265 |
scales = gr.Slider(
|
| 266 |
label="Guidance Scale",
|