Spaces:
Runtime error
Runtime error
Xu Ma
commited on
Commit
•
9955899
1
Parent(s):
6f3106f
Update app.py
Browse files
app.py
CHANGED
@@ -108,8 +108,8 @@ 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
|
113 |
|
114 |
|
115 |
|
|
|
108 |
experiment = app_experiment_change(experiment_id)
|
109 |
cfg_arg.target = img
|
110 |
cfg_arg.experiment = experiment
|
111 |
+
img, text = main_func(img, experiment_id, cfg_arg=cfg_arg)
|
112 |
+
return img, text
|
113 |
|
114 |
|
115 |
|