wylum commited on
Commit
2dcbcb2
·
verified ·
1 Parent(s): ce7293a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -42,9 +42,9 @@ theme = "Nymbo/Alyx_Theme"
42
  with gr.Blocks() as demo:
43
  with gr.Row():
44
  with gr.Column():
45
- input = gr.components.Image(type='filepath')
46
  with gr.Column():
47
- output = gr.components.Image(type='filepath')
48
 
49
  #with gr.Row():
50
  gr.Examples(
@@ -66,13 +66,13 @@ with gr.Blocks() as demo:
66
  ],
67
  fn=process,
68
  inputs=[
69
- image,
70
  #model_id,
71
  #image_size,
72
  #conf_threshold,
73
  #iou_threshold,
74
  ],
75
- outputs=[input],
76
  cache_examples="lazy",
77
  )
78
 
 
42
  with gr.Blocks() as demo:
43
  with gr.Row():
44
  with gr.Column():
45
+ input_image = gr.components.Image(type='filepath')
46
  with gr.Column():
47
+ output_image = gr.components.Image(type='filepath')
48
 
49
  #with gr.Row():
50
  gr.Examples(
 
66
  ],
67
  fn=process,
68
  inputs=[
69
+ input_image,
70
  #model_id,
71
  #image_size,
72
  #conf_threshold,
73
  #iou_threshold,
74
  ],
75
+ outputs=[output_image],
76
  cache_examples="lazy",
77
  )
78