Xu Ma commited on
Commit
1c72570
1 Parent(s): 3d75b86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -106,7 +106,7 @@ def app_experiment_change(experiment_id):
106
 
107
 
108
  cfg_arg = parse_args()
109
- temp_image = np.random([224,224,3])
110
  temp_text = "start"
111
  def run_live(img, experiment_id, cfg_arg=cfg_arg):
112
  experiment = app_experiment_change(experiment_id)
@@ -302,7 +302,7 @@ def main(args):
302
  ]
303
  # outputs
304
  outputs = gr.outputs.Image(type="numpy", label="Vectorized Image")
305
- outputs02 = gr.outputs.JSON(label="检测信息")
306
 
307
  # title
308
  title = "LIVE: Towards Layer-wise Image Vectorization"
 
106
 
107
 
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, cfg_arg=cfg_arg):
112
  experiment = app_experiment_change(experiment_id)
 
302
  ]
303
  # outputs
304
  outputs = gr.outputs.Image(type="numpy", label="Vectorized Image")
305
+ outputs02 = gr.outputs.JSON(label="Iterations")
306
 
307
  # title
308
  title = "LIVE: Towards Layer-wise Image Vectorization"