Spaces:
Running
on
Zero
Running
on
Zero
Add missing type annotation
Browse files
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 |
|