Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,8 @@ with gr.Blocks(css=css) as demo:
|
|
66 |
process_button = gr.Button("Process Image")
|
67 |
|
68 |
def update_status(img):
|
69 |
-
|
|
|
70 |
|
71 |
process_button.click(update_status, inputs=image_input, outputs=[image_input])
|
72 |
|
|
|
66 |
process_button = gr.Button("Process Image")
|
67 |
|
68 |
def update_status(img):
|
69 |
+
processed_img = inference(img)
|
70 |
+
return processed_img
|
71 |
|
72 |
process_button.click(update_status, inputs=image_input, outputs=[image_input])
|
73 |
|