Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,11 +11,11 @@ from bs4 import BeautifulSoup
|
|
| 11 |
|
| 12 |
# Default parameters
|
| 13 |
low_int = 10
|
| 14 |
-
high_int =
|
| 15 |
-
edge_thresh =
|
| 16 |
accum_thresh = 45
|
| 17 |
center_tol = 30
|
| 18 |
-
morph_dia =
|
| 19 |
min_rad = 70
|
| 20 |
|
| 21 |
def fetch_sdo_images(max_images, size="1024by960", tool="ccor1"):
|
|
@@ -270,7 +270,7 @@ with gr.Blocks(title="Solar CME Detection") as demo:
|
|
| 270 |
|
| 271 |
# State to store fetched frames
|
| 272 |
fetched_frames_state = gr.State(value=[])
|
| 273 |
-
with gr.Sidebar():
|
| 274 |
|
| 275 |
gr.Markdown("### Analysis Parameters")
|
| 276 |
lower_bound = gr.Slider(minimum=0, maximum=255, value=low_int, step=1, label="Lower Intensity Bound (0-255)")
|
|
|
|
| 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"):
|
|
|
|
| 270 |
|
| 271 |
# State to store fetched frames
|
| 272 |
fetched_frames_state = gr.State(value=[])
|
| 273 |
+
with gr.Sidebar(open=False):
|
| 274 |
|
| 275 |
gr.Markdown("### Analysis Parameters")
|
| 276 |
lower_bound = gr.Slider(minimum=0, maximum=255, value=low_int, step=1, label="Lower Intensity Bound (0-255)")
|