Spaces:
Runtime error
Runtime error
zeel sheladiya commited on
Commit Β·
f292e12
1
Parent(s): 2b865d3
Update app.py
Browse files
app.py
CHANGED
|
@@ -163,12 +163,12 @@ The strength parameter defines how much noise is added to your QR code and the n
|
|
| 163 |
init_image = gr.Image(label="Init Image (Optional). Leave blank to generate image with SD 2.1", type="pil")
|
| 164 |
|
| 165 |
|
| 166 |
-
with gr.Accordion(
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
):
|
| 170 |
|
| 171 |
-
sampler = gr.Dropdown(choices=list(SAMPLER_MAP.keys()), value="DPM++ Karras SDE", label="Sampler")
|
| 172 |
|
| 173 |
with gr.Row():
|
| 174 |
run_btn = gr.Button("Run")
|
|
@@ -181,7 +181,7 @@ The strength parameter defines how much noise is added to your QR code and the n
|
|
| 181 |
qr_code_content,
|
| 182 |
prompt,
|
| 183 |
negative_prompt,
|
| 184 |
-
sampler,
|
| 185 |
],
|
| 186 |
outputs=[result_image],
|
| 187 |
)
|
|
|
|
| 163 |
init_image = gr.Image(label="Init Image (Optional). Leave blank to generate image with SD 2.1", type="pil")
|
| 164 |
|
| 165 |
|
| 166 |
+
# with gr.Accordion(
|
| 167 |
+
# label="Params: The generated QR Code functionality is largely influenced by the parameters detailed below",
|
| 168 |
+
# open=True,
|
| 169 |
+
# ):
|
| 170 |
|
| 171 |
+
# sampler = gr.Dropdown(choices=list(SAMPLER_MAP.keys()), value="DPM++ Karras SDE", label="Sampler")
|
| 172 |
|
| 173 |
with gr.Row():
|
| 174 |
run_btn = gr.Button("Run")
|
|
|
|
| 181 |
qr_code_content,
|
| 182 |
prompt,
|
| 183 |
negative_prompt,
|
| 184 |
+
# sampler,
|
| 185 |
],
|
| 186 |
outputs=[result_image],
|
| 187 |
)
|