Xu Ma commited on
Commit
baae5b4
1 Parent(s): a9dc5ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -108,7 +108,7 @@ def app_experiment_change(experiment_id):
108
  cfg_arg = parse_args()
109
  temp_image = np.random.rand(224,224,3)
110
  temp_text = "start"
111
- def run_live(slide_value, img, experiment_id, cfg_arg=cfg_arg):
112
  experiment = app_experiment_change(experiment_id)
113
  cfg_arg.target = img
114
  cfg_arg.experiment = experiment
@@ -300,9 +300,10 @@ def main(args):
300
 
301
  # inputs
302
  inputs = [
303
- inputs_update, # update output
304
  inputs_img, # input image
305
  experiment_id, # path adding scheduler
 
306
 
307
  ]
308
  # outputs
 
108
  cfg_arg = parse_args()
109
  temp_image = np.random.rand(224,224,3)
110
  temp_text = "start"
111
+ def run_live(img, experiment_id, slide_value, cfg_arg=cfg_arg):
112
  experiment = app_experiment_change(experiment_id)
113
  cfg_arg.target = img
114
  cfg_arg.experiment = experiment
 
300
 
301
  # inputs
302
  inputs = [
303
+
304
  inputs_img, # input image
305
  experiment_id, # path adding scheduler
306
+ inputs_update, # update output
307
 
308
  ]
309
  # outputs