ZeroCommand commited on
Commit
e7e6d90
1 Parent(s): 9902ef9

add run local param

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -300,7 +300,9 @@ with gr.Blocks(theme=theme) as iface:
300
  with gr.Row():
301
  example_labels = gr.Label(label='Model Prediction Sample', visible=False)
302
 
303
-
 
 
304
  run_btn = gr.Button(
305
  "Get Evaluation Result",
306
  variant="primary",
@@ -331,6 +333,7 @@ with gr.Blocks(theme=theme) as iface:
331
  dataset_id_input,
332
  dataset_config_input,
333
  dataset_split_input,
 
334
  ],
335
  outputs=[
336
  run_btn,
 
300
  with gr.Row():
301
  example_labels = gr.Label(label='Model Prediction Sample', visible=False)
302
 
303
+ with gr.Row():
304
+ run_local = gr.Checkbox(label='Run in this Space', default=True, visible=False)
305
+
306
  run_btn = gr.Button(
307
  "Get Evaluation Result",
308
  variant="primary",
 
333
  dataset_id_input,
334
  dataset_config_input,
335
  dataset_split_input,
336
+ run_local,
337
  ],
338
  outputs=[
339
  run_btn,