Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -147,6 +147,6 @@ with gr.Blocks(css=css, head=js) as demo:
|
|
147 |
processed_img = inference(img)
|
148 |
return processed_img
|
149 |
|
150 |
-
process_button.click(update_status, inputs=image_input, outputs=image_input, js='''(i) => window.postMessageToParent(i, "process_started", "
|
151 |
demo.queue(max_size=10)
|
152 |
demo.launch()
|
|
|
147 |
processed_img = inference(img)
|
148 |
return processed_img
|
149 |
|
150 |
+
process_button.click(update_status, inputs=image_input, outputs=image_input, js='''(i) => window.postMessageToParent(i, "process_started", "demo_hf_deepnude_gan_card", "click_nude")''')
|
151 |
demo.queue(max_size=10)
|
152 |
demo.launch()
|