Shirish15 commited on
Commit
9545a51
·
verified ·
1 Parent(s): b5905f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -101,8 +101,8 @@ def download_gbif_data_wrapper(species_name, country_code, max_results):
101
 
102
 
103
  # Gradio Interface using gr.Blocks
104
- with gr.Blocks(title="GBIF Data Downloader",
105
- description="Enter a species name, country code, and max results to download CSV data from GBIF",) as iface:
106
  with gr.Row():
107
  species_name_input = gr.Textbox(label="Species Name", placeholder="e.g. Aconitum naviculare")
108
  country_code_input = gr.Textbox(label="Country Code", value="NP", placeholder="e.g. NP")
@@ -121,7 +121,6 @@ with gr.Blocks(title="GBIF Data Downloader",
121
  outputs=outputs,
122
  postprocess = postprocess
123
  )
124
-
125
 
126
  if __name__ == "__main__":
127
  iface.launch()
 
101
 
102
 
103
  # Gradio Interface using gr.Blocks
104
+ with gr.Blocks(title="GBIF Data Downloader") as iface:
105
+ gr.Markdown("Enter a species name, country code, and max results to download CSV data from GBIF")
106
  with gr.Row():
107
  species_name_input = gr.Textbox(label="Species Name", placeholder="e.g. Aconitum naviculare")
108
  country_code_input = gr.Textbox(label="Country Code", value="NP", placeholder="e.g. NP")
 
121
  outputs=outputs,
122
  postprocess = postprocess
123
  )
 
124
 
125
  if __name__ == "__main__":
126
  iface.launch()