federico commited on
Commit
186a6e0
β€’
1 Parent(s): 42180f1

Moved the run button

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -212,6 +212,7 @@ if __name__=='__main__':
212
  with gr.Row():
213
  with gr.Column():
214
  input_img = gr.Image(label="Input Image", source="webcam")
 
215
  laeo = gr.Checkbox(value=True, label="LAEO", info="Compute and display LAEO")
216
  rgb = gr.Checkbox(value=False, label="rgb", info="Display output on W/B image")
217
  show_keypoints = gr.Checkbox(value=True, label="show_keypoints", info="Display keypoints on image")
@@ -222,7 +223,6 @@ if __name__=='__main__':
222
  detection_threshold = gr.Slider(0.01, 1, value=0.45, step=0.01, interactive=True,
223
  label="detection_threshold", info="Choose in [0, 1]")
224
 
225
- button = gr.Button(label="RUN", type="default")
226
  with gr.Column():
227
  outputs = gr.Image(label="Output Image", shape=(512, 512))
228
  uncert = gr.Label(label="Uncertainty", value="0.0")
@@ -236,6 +236,7 @@ if __name__=='__main__':
236
  with gr.Row():
237
  with gr.Column():
238
  input_img = gr.Image(label="Input Image", source="upload")
 
239
  laeo = gr.Checkbox(value=True, label="LAEO", info="Compute and display LAEO")
240
  rgb = gr.Checkbox(value=False, label="rgb", info="Display output on W/B image")
241
  show_keypoints = gr.Checkbox(value=True, label="show_keypoints", info="Display keypoints on image")
@@ -247,7 +248,6 @@ if __name__=='__main__':
247
  detection_threshold = gr.Slider(0.01, 1, value=0.45, step=0.01, interactive=True,
248
  label="detection_threshold", info="Choose in [0, 1]")
249
 
250
- button = gr.Button(label="RUN", type="default")
251
  with gr.Column():
252
  outputs = gr.Image(height=238, width=585, label="Output Image")
253
  uncert = gr.Label(label="Uncertainty", value="0.0")
 
212
  with gr.Row():
213
  with gr.Column():
214
  input_img = gr.Image(label="Input Image", source="webcam")
215
+ button = gr.Button(label="RUN", type="default")
216
  laeo = gr.Checkbox(value=True, label="LAEO", info="Compute and display LAEO")
217
  rgb = gr.Checkbox(value=False, label="rgb", info="Display output on W/B image")
218
  show_keypoints = gr.Checkbox(value=True, label="show_keypoints", info="Display keypoints on image")
 
223
  detection_threshold = gr.Slider(0.01, 1, value=0.45, step=0.01, interactive=True,
224
  label="detection_threshold", info="Choose in [0, 1]")
225
 
 
226
  with gr.Column():
227
  outputs = gr.Image(label="Output Image", shape=(512, 512))
228
  uncert = gr.Label(label="Uncertainty", value="0.0")
 
236
  with gr.Row():
237
  with gr.Column():
238
  input_img = gr.Image(label="Input Image", source="upload")
239
+ button = gr.Button(label="RUN", type="default")
240
  laeo = gr.Checkbox(value=True, label="LAEO", info="Compute and display LAEO")
241
  rgb = gr.Checkbox(value=False, label="rgb", info="Display output on W/B image")
242
  show_keypoints = gr.Checkbox(value=True, label="show_keypoints", info="Display keypoints on image")
 
248
  detection_threshold = gr.Slider(0.01, 1, value=0.45, step=0.01, interactive=True,
249
  label="detection_threshold", info="Choose in [0, 1]")
250
 
 
251
  with gr.Column():
252
  outputs = gr.Image(height=238, width=585, label="Output Image")
253
  uncert = gr.Label(label="Uncertainty", value="0.0")