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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -108,7 +108,8 @@ 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(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
@@ -303,7 +304,7 @@ def main(args):
303
 
304
  inputs_img, # input image
305
  experiment_id, # path adding scheduler
306
- inputs_update, # update output
307
 
308
  ]
309
  # outputs
 
108
  cfg_arg = parse_args()
109
  temp_image = np.random.rand(224,224,3)
110
  temp_text = "start"
111
+ temp_input = np.random.rand(224,224,3)
112
+ def run_live(img, experiment_id, cfg_arg=cfg_arg):
113
  experiment = app_experiment_change(experiment_id)
114
  cfg_arg.target = img
115
  cfg_arg.experiment = experiment
 
304
 
305
  inputs_img, # input image
306
  experiment_id, # path adding scheduler
307
+ # inputs_update, # update output
308
 
309
  ]
310
  # outputs