Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
8c91851
1
Parent(s):
613f332
fix
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ with block:
|
|
104 |
print("encoding done")
|
105 |
return {sam_encode_status: 'Image Encoded!',
|
106 |
masks_annotated_image: (inputs[input_image], [])}
|
107 |
-
sam_encode_btn.click(on_click_sam_encode_btn, components, [sam_encode_status], queue=False)
|
108 |
|
109 |
def on_click_sam_dencode_btn(inputs):
|
110 |
print("inferencing")
|
|
|
104 |
print("encoding done")
|
105 |
return {sam_encode_status: 'Image Encoded!',
|
106 |
masks_annotated_image: (inputs[input_image], [])}
|
107 |
+
sam_encode_btn.click(on_click_sam_encode_btn, components, [sam_encode_status, masks_annotated_image], queue=False)
|
108 |
|
109 |
def on_click_sam_dencode_btn(inputs):
|
110 |
print("inferencing")
|