broadfield-dev commited on
Commit
4304346
·
verified ·
1 Parent(s): 3f98bf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -11,12 +11,12 @@ from bs4 import BeautifulSoup
11
 
12
  # Default parameters
13
  low_int = 10
14
- high_int = 150
15
  edge_thresh = 100
16
  accum_thresh = 45
17
- center_tol = 30
18
  morph_dia = 3
19
- min_rad = 70
20
 
21
  def fetch_sdo_images(max_images, size="1024by960", tool="ccor1"):
22
  """Fetch SDO images from NOAA URL directory."""
@@ -305,7 +305,7 @@ with gr.Blocks(title="Solar CME Detection") as demo:
305
  value="Both (Detected Replaces Original)",
306
  label="Display Mode"
307
  )
308
- scale_to_512 = gr.Checkbox(label="Scale Output GIF to 512x512", value=False)
309
 
310
  with gr.Row():
311
  with gr.Column():
 
11
 
12
  # Default parameters
13
  low_int = 10
14
+ high_int = 200
15
  edge_thresh = 100
16
  accum_thresh = 45
17
+ center_tol = 60
18
  morph_dia = 3
19
+ min_rad = 50
20
 
21
  def fetch_sdo_images(max_images, size="1024by960", tool="ccor1"):
22
  """Fetch SDO images from NOAA URL directory."""
 
305
  value="Both (Detected Replaces Original)",
306
  label="Display Mode"
307
  )
308
+ scale_to_512 = gr.Checkbox(label="Scale Output GIF to 512x512", value=True)
309
 
310
  with gr.Row():
311
  with gr.Column():