Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
fb5f1fe
1
Parent(s):
8930099
fix
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ with block:
|
|
86 |
sam.encode(inputs[input_image])
|
87 |
print("encoding done")
|
88 |
return {sam_encode_status: 'Image Encoded!'}
|
89 |
-
sam_encode_btn.click(on_click_sam_encode_btn, components, [
|
90 |
|
91 |
def on_click_sam_dencode_btn(inputs):
|
92 |
print("inferencing")
|
|
|
86 |
sam.encode(inputs[input_image])
|
87 |
print("encoding done")
|
88 |
return {sam_encode_status: 'Image Encoded!'}
|
89 |
+
sam_encode_btn.click(on_click_sam_encode_btn, components, [sam_encode_status], queue=False)
|
90 |
|
91 |
def on_click_sam_dencode_btn(inputs):
|
92 |
print("inferencing")
|