Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
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(
|