hysts HF Staff commited on
Commit
a594ef6
·
1 Parent(s): 5f16955

Add missing type annotation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1047,7 +1047,7 @@ with gr.Blocks(title="SAM3", theme=Soft(primary_hue="blue", secondary_hue="rose"
1047
  outputs=preview_text,
1048
  )
1049
 
1050
- def _sync_obj_id(s: AppState, oid) -> None:
1051
  if s is not None and oid is not None:
1052
  s.current_obj_id = int(oid)
1053
 
 
1047
  outputs=preview_text,
1048
  )
1049
 
1050
+ def _sync_obj_id(s: AppState, oid: int) -> None:
1051
  if s is not None and oid is not None:
1052
  s.current_obj_id = int(oid)
1053