hysts HF staff commited on
Commit
60b62e7
1 Parent(s): 84c9342
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -347,7 +347,7 @@ def validate_and_convert_image(image, target_size=(512, 512)):
347
 
348
 
349
  def reset_states():
350
- return None, None, None, None, []
351
 
352
 
353
  def preprocess_image(image):
@@ -813,7 +813,7 @@ if __name__ == "__main__":
813
 
814
  reset_button.click(
815
  fn=reset_states,
816
- outputs=[input_image, input_image_end, first_frame_path, last_frame_path, tracking_points],
817
  )
818
 
819
  gr.on(
 
347
 
348
 
349
  def reset_states():
350
+ return None, None, None, None, None, []
351
 
352
 
353
  def preprocess_image(image):
 
813
 
814
  reset_button.click(
815
  fn=reset_states,
816
+ outputs=[input_image, input_image_end, first_frame_path, last_frame_path, output_video, tracking_points],
817
  )
818
 
819
  gr.on(