cgeorgiaw HF Staff commited on
Commit
302874c
·
1 Parent(s): 3068dd3

avoiding autoload issue

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -132,7 +132,7 @@ def gradio_interface() -> gr.Blocks:
132
  vis = make_visual(boundary)
133
  return vis
134
 
135
- demo.load(get_boundary_vis, dropdown, plot)
136
  rld_btn.click(get_boundary_vis, dropdown, plot)
137
 
138
  with gr.TabItem("✉️ Submit", elem_id="boundary-benchmark-tab-table"):
@@ -167,9 +167,9 @@ def gradio_interface() -> gr.Blocks:
167
 
168
  submit_btn = gr.Button("Evaluate")
169
  message = gr.Textbox(label="Status", lines=1, visible=False)
170
- gr.Markdown(
171
- "If you have issues with submission or using the leaderboard, please start a discussion in the Community tab of this Space."
172
- )
173
  submit_btn.click(
174
  submit_boundary,
175
  inputs=[problem_type, boundary_file, user_state],
 
132
  vis = make_visual(boundary)
133
  return vis
134
 
135
+ # demo.load(get_boundary_vis, dropdown, plot)
136
  rld_btn.click(get_boundary_vis, dropdown, plot)
137
 
138
  with gr.TabItem("✉️ Submit", elem_id="boundary-benchmark-tab-table"):
 
167
 
168
  submit_btn = gr.Button("Evaluate")
169
  message = gr.Textbox(label="Status", lines=1, visible=False)
170
+ # help message
171
+ gr.Markdown("If you have issues with submission or using the leaderboard, please start a discussion in the Community tab of this Space.")
172
+
173
  submit_btn.click(
174
  submit_boundary,
175
  inputs=[problem_type, boundary_file, user_state],