Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ examples = [
|
|
| 111 |
]
|
| 112 |
|
| 113 |
with gr.Blocks(css=css, theme="YTheme/GMaterial") as demo:
|
| 114 |
-
gr.Markdown("## SD3.5 Turbo: Text to Image
|
| 115 |
|
| 116 |
with gr.Row():
|
| 117 |
with gr.Column(scale=1):
|
|
@@ -148,8 +148,8 @@ with gr.Blocks(css=css, theme="YTheme/GMaterial") as demo:
|
|
| 148 |
width = gr.Slider(label="Width", minimum=512, maximum=MAX_IMAGE_SIZE, step=64, value=1024)
|
| 149 |
height = gr.Slider(label="Height", minimum=512, maximum=MAX_IMAGE_SIZE, step=64, value=1024)
|
| 150 |
with gr.Row():
|
| 151 |
-
guidance_scale = gr.Slider(label="Guidance Scale", minimum=1, maximum=15, step=0.5, value=
|
| 152 |
-
num_inference_steps = gr.Slider(label="Inference Steps", minimum=1, maximum=30, step=1, value=
|
| 153 |
|
| 154 |
with gr.Column(scale=1):
|
| 155 |
gr.Examples(
|
|
|
|
| 111 |
]
|
| 112 |
|
| 113 |
with gr.Blocks(css=css, theme="YTheme/GMaterial") as demo:
|
| 114 |
+
gr.Markdown("## SD3.5 Turbo: Text to Image")
|
| 115 |
|
| 116 |
with gr.Row():
|
| 117 |
with gr.Column(scale=1):
|
|
|
|
| 148 |
width = gr.Slider(label="Width", minimum=512, maximum=MAX_IMAGE_SIZE, step=64, value=1024)
|
| 149 |
height = gr.Slider(label="Height", minimum=512, maximum=MAX_IMAGE_SIZE, step=64, value=1024)
|
| 150 |
with gr.Row():
|
| 151 |
+
guidance_scale = gr.Slider(label="Guidance Scale", minimum=1, maximum=15, step=0.5, value=0.0)
|
| 152 |
+
num_inference_steps = gr.Slider(label="Inference Steps", minimum=1, maximum=30, step=1, value=4)
|
| 153 |
|
| 154 |
with gr.Column(scale=1):
|
| 155 |
gr.Examples(
|