Spaces:
Runtime error
Runtime error
| def reset_state(result, state): | |
| # Reset Result | |
| result["json_result"] = [] | |
| result["aris_input"] = [] | |
| result["datasets"] = [] | |
| result["path_video"] = [] | |
| result["path_zip"] = [] | |
| result["path_json"] = [] | |
| result["path_marking"] = [] | |
| result["fish_table"] = [] | |
| result["fish_info"] = [] | |
| # Reset State | |
| state['files'] = [] | |
| state['index'] = 0 | |
| state['total'] = 0 | |