Update app.py
Browse files
app.py
CHANGED
|
@@ -354,7 +354,7 @@ with gr.Blocks(css=custom_css, title="Jewellery Photography Preview") as demo:
|
|
| 354 |
run_btn.click(
|
| 355 |
fn=disable_button,
|
| 356 |
inputs=None,
|
| 357 |
-
outputs=
|
| 358 |
).then(
|
| 359 |
fn=call_backend_with_retry,
|
| 360 |
inputs=[input_img, category, gender],
|
|
|
|
| 354 |
run_btn.click(
|
| 355 |
fn=disable_button,
|
| 356 |
inputs=None,
|
| 357 |
+
outputs=run_btn
|
| 358 |
).then(
|
| 359 |
fn=call_backend_with_retry,
|
| 360 |
inputs=[input_img, category, gender],
|