Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ with gr.Blocks(theme=theme, css=css, title="SEA.AI Vision Demo") as demo:
|
|
131 |
[flag],
|
132 |
show_api=False,
|
133 |
).then(
|
134 |
-
lambda
|
135 |
[img_input, flag],
|
136 |
[],
|
137 |
preprocess=False,
|
|
|
131 |
[flag],
|
132 |
show_api=False,
|
133 |
).then(
|
134 |
+
lambda img_input, flag: hf_writer.flag(img_input, flag),
|
135 |
[img_input, flag],
|
136 |
[],
|
137 |
preprocess=False,
|