kevinconka commited on
Commit
fb78bf6
·
verified ·
1 Parent(s): 687d726

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 *args: hf_writer.flag(args),
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,