xinwei89 commited on
Commit
ad4b249
·
1 Parent(s): 27752e7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ with gr.Blocks() as demo:
37
  with lcz_row as lcz_options:
38
  lcz_version_dropdown = gr.Dropdown(choices=["lczv1"], label="LCZ Classification Version", value="lczv1", visible=True, interactive=True)
39
  lcz_pth_dropdown = gr.Dropdown(choices=list_pth_files_in_directory("lcz_model_weights", "lcz_v1"), label="Select a tree model file", visible=True, interactive=True)
40
- lcz_threshold_slider = gr.Slider(minimum=0, maximum=1, step=0.1, value=0.7, label='Set confidence threshold "%" for trees', visible=True, interactive=True)
41
 
42
  # mode_dropdown.change(update_visibility, inputs=[mode_dropdown], outputs=[tree_version_dropdown, tree_pth_dropdown, tree_threshold_slider, building_version_dropdown, building_pth_dropdown, building_threshold_slider])
43
  mode_dropdown.change(update_row_visibility, inputs=[mode_dropdown], outputs=[tree_row, building_row, lcz_row])
 
37
  with lcz_row as lcz_options:
38
  lcz_version_dropdown = gr.Dropdown(choices=["lczv1"], label="LCZ Classification Version", value="lczv1", visible=True, interactive=True)
39
  lcz_pth_dropdown = gr.Dropdown(choices=list_pth_files_in_directory("lcz_model_weights", "lcz_v1"), label="Select a tree model file", visible=True, interactive=True)
40
+ lcz_threshold_slider = gr.Slider(minimum=0, maximum=1, step=0.1, value=0.7, label='Set confidence threshold "%" for LCZs', visible=True, interactive=True)
41
 
42
  # mode_dropdown.change(update_visibility, inputs=[mode_dropdown], outputs=[tree_version_dropdown, tree_pth_dropdown, tree_threshold_slider, building_version_dropdown, building_pth_dropdown, building_threshold_slider])
43
  mode_dropdown.change(update_row_visibility, inputs=[mode_dropdown], outputs=[tree_row, building_row, lcz_row])