Spaces:
Runtime error
Runtime error
zeel sheladiya commited on
Commit Β·
58f4d1f
1
Parent(s): f4d1013
Update app.py
Browse files
app.py
CHANGED
|
@@ -174,19 +174,13 @@ The strength parameter defines how much noise is added to your QR code and the n
|
|
| 174 |
run_btn = gr.Button("Run")
|
| 175 |
with gr.Column():
|
| 176 |
result_image = gr.Image(label="Result Image")
|
|
|
|
| 177 |
run_btn.click(
|
| 178 |
inference,
|
| 179 |
inputs=[
|
| 180 |
qr_code_content,
|
| 181 |
prompt,
|
| 182 |
negative_prompt,
|
| 183 |
-
guidance_scale,
|
| 184 |
-
controlnet_conditioning_scale,
|
| 185 |
-
strength,
|
| 186 |
-
seed,
|
| 187 |
-
init_image,
|
| 188 |
-
qr_code_image,
|
| 189 |
-
use_qr_code_as_init_image,
|
| 190 |
sampler,
|
| 191 |
],
|
| 192 |
outputs=[result_image],
|
|
|
|
| 174 |
run_btn = gr.Button("Run")
|
| 175 |
with gr.Column():
|
| 176 |
result_image = gr.Image(label="Result Image")
|
| 177 |
+
|
| 178 |
run_btn.click(
|
| 179 |
inference,
|
| 180 |
inputs=[
|
| 181 |
qr_code_content,
|
| 182 |
prompt,
|
| 183 |
negative_prompt,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
sampler,
|
| 185 |
],
|
| 186 |
outputs=[result_image],
|