stevengrove commited on
Commit
fd61144
1 Parent(s): de00aaf

Update tools/demo.py

Browse files
Files changed (1) hide show
  1. tools/demo.py +1 -1
tools/demo.py CHANGED
@@ -194,7 +194,7 @@ def demo(runner, args, cfg):
194
  [output_image])
195
  clear.click(lambda: [[], '', ''], None,
196
  [image, input_text, output_image])
197
- export.click(partial(export_model, runner, cfg.checkpoint),
198
  [input_text, max_num_boxes, score_thr, nms_thr],
199
  [out_download, out_download])
200
  demo.launch(server_name='0.0.0.0')
 
194
  [output_image])
195
  clear.click(lambda: [[], '', ''], None,
196
  [image, input_text, output_image])
197
+ export.click(partial(export_model, runner, args.checkpoint),
198
  [input_text, max_num_boxes, score_thr, nms_thr],
199
  [out_download, out_download])
200
  demo.launch(server_name='0.0.0.0')