k8si commited on
Commit
1daa382
1 Parent(s): 42706ac

move 'download' button

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -641,10 +641,6 @@ with gr.Blocks(css=css) as block:
641
  elem_classes=["filter-checkbox-group"],
642
  scale=2,
643
  )
644
- export_button = gr.DownloadButton(
645
- label="Download as JSON",
646
- value=EXPORTED_DATA_FILEPATH,
647
- )
648
 
649
  with gr.Tabs() as outer_tabs:
650
  # Store the tabs for updating them on load based on URL parameters
@@ -713,6 +709,10 @@ with gr.Blocks(css=css) as block:
713
  }
714
  ```
715
  """)
 
 
 
 
716
 
717
  def set_tabs_on_load(request: gr.Request):
718
  """Set the selected tab based on the URL parameters on load."""
 
641
  elem_classes=["filter-checkbox-group"],
642
  scale=2,
643
  )
 
 
 
 
644
 
645
  with gr.Tabs() as outer_tabs:
646
  # Store the tabs for updating them on load based on URL parameters
 
709
  }
710
  ```
711
  """)
712
+ export_button = gr.DownloadButton(
713
+ label="Download as JSON",
714
+ value=EXPORTED_DATA_FILEPATH,
715
+ )
716
 
717
  def set_tabs_on_load(request: gr.Request):
718
  """Set the selected tab based on the URL parameters on load."""