Xu Ma commited on
Commit
87e8119
1 Parent(s): 42084fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -105,7 +105,9 @@ def app_experiment_change(experiment_id):
105
 
106
  cfg_arg = parse_args()
107
  def run_live(img, experiment_id, cfg_arg=cfg_arg):
108
- experiment_id = app_experiment_change(experiment_id)
 
 
109
  main_func(img, experiment_id, cfg_arg=cfg_arg)
110
  return 0, 1
111
 
 
105
 
106
  cfg_arg = parse_args()
107
  def run_live(img, experiment_id, cfg_arg=cfg_arg):
108
+ experiment = app_experiment_change(experiment_id)
109
+ cfg_arg.target = img
110
+ cfg_arg.experiment = experiment
111
  main_func(img, experiment_id, cfg_arg=cfg_arg)
112
  return 0, 1
113