ajflorez commited on
Commit
2b415ad
·
verified ·
1 Parent(s): 7a2cea8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -312,9 +312,9 @@ with gr.Blocks() as demo:
312
  # Input left panel
313
  with gr.Column(scale=1): # Scale to resize
314
  map_dropdown = gr.Dropdown(choices=plan_images_list(), label="Select indoor plan")
315
- ch1_input = gr.Number(label="APs CH 1")
316
- ch6_input = gr.Number(label="APs CH 6")
317
- ch11_input = gr.Number(label="APs CH 11")
318
  coords_ch1_input = gr.Textbox(label="Coordinate CH 1", placeholder="Format: (x1, y1), (x2, y2)")
319
  coords_ch6_input = gr.Textbox(label="Coordinate CH 6", placeholder="Format: (x1, y1), (x2, y2)")
320
  coords_ch11_input = gr.Textbox(label="Coordinate CH 11", placeholder="Format: (x1, y1), (x2, y2)")
 
312
  # Input left panel
313
  with gr.Column(scale=1): # Scale to resize
314
  map_dropdown = gr.Dropdown(choices=plan_images_list(), label="Select indoor plan")
315
+ ch1_input = gr.Dropdown(choices=[i for i in range(0, 3)], label="Select APs CH 1")
316
+ ch6_input = gr.Dropdown(choices=[i for i in range(0, 3)], label="Select APs CH 6")
317
+ ch11_input = gr.Dropdown(choices=[i for i in range(0, 3)], label="Select APs CH 11")
318
  coords_ch1_input = gr.Textbox(label="Coordinate CH 1", placeholder="Format: (x1, y1), (x2, y2)")
319
  coords_ch6_input = gr.Textbox(label="Coordinate CH 6", placeholder="Format: (x1, y1), (x2, y2)")
320
  coords_ch11_input = gr.Textbox(label="Coordinate CH 11", placeholder="Format: (x1, y1), (x2, y2)")