jens commited on
Commit
fb5f1fe
·
1 Parent(s): 8930099
Files changed (1) hide show
  1. app.py +1 -1
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, [pcl_figure], queue=False)
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")