fffiloni commited on
Commit
1699a80
·
verified ·
1 Parent(s): b87435c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -399,7 +399,7 @@ def reset_propagation(predictor, stored_inference_state):
399
 
400
  predictor.reset_state(stored_inference_state)
401
  print(f"RESET State: {stored_inference_state} ")
402
- return gr.update(value=None, visible=False), stored_inference_state, None, ["frame_0.jpg"], first_frame_path, gr.update(visible=False)
403
 
404
  with gr.Blocks() as demo:
405
  first_frame_path = gr.State()
 
399
 
400
  predictor.reset_state(stored_inference_state)
401
  print(f"RESET State: {stored_inference_state} ")
402
+ return gr.update(value=None, visible=False), stored_inference_state, None, ["frame_0.jpg"], first_frame_path, "frame_0.jpg", gr.update(visible=False)
403
 
404
  with gr.Blocks() as demo:
405
  first_frame_path = gr.State()