cgeorgiaw HF Staff commited on
Commit
e55168d
·
1 Parent(s): f8173e9

trying to visualize

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -106,11 +106,12 @@ def gradio_interface() -> gr.Blocks:
106
  ds = load_dataset(results_repo, split='train')
107
  full_df = pd.DataFrame(ds)
108
  filenames = full_df['result_filename'].to_list()
109
- with gr.Row():
110
  dropdown = gr.Dropdown(choices=filenames, label="Choose a file", value=filenames[0])
111
  rld_btn = gr.Button(value="Reload")
112
 
113
- plot = gr.Plot()
 
114
 
115
  def get_boundary_vis(selected_file):
116
  local_path = read_result_from_hub(selected_file)
 
106
  ds = load_dataset(results_repo, split='train')
107
  full_df = pd.DataFrame(ds)
108
  filenames = full_df['result_filename'].to_list()
109
+ with gr.Column():
110
  dropdown = gr.Dropdown(choices=filenames, label="Choose a file", value=filenames[0])
111
  rld_btn = gr.Button(value="Reload")
112
 
113
+ with gr.Column():
114
+ plot = gr.Plot()
115
 
116
  def get_boundary_vis(selected_file):
117
  local_path = read_result_from_hub(selected_file)