Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,12 +11,12 @@ from bs4 import BeautifulSoup
|
|
| 11 |
|
| 12 |
# Default parameters
|
| 13 |
low_int = 10
|
| 14 |
-
high_int =
|
| 15 |
edge_thresh = 100
|
| 16 |
accum_thresh = 45
|
| 17 |
-
center_tol =
|
| 18 |
morph_dia = 3
|
| 19 |
-
min_rad =
|
| 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=
|
| 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():
|