Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -309,6 +309,8 @@ with gr.Blocks(title="Solar CME Detection") as demo:
|
|
309 |
with gr.Sidebar(open=False):
|
310 |
|
311 |
gr.Markdown("### Analysis Parameters")
|
|
|
|
|
312 |
lower_bound = gr.Slider(minimum=0, maximum=255, value=low_int, step=1, label="Lower Intensity Bound (0-255)")
|
313 |
upper_bound = gr.Slider(minimum=0, maximum=255, value=high_int, step=1, label="Upper Intensity Bound (0-255)")
|
314 |
param1 = gr.Slider(minimum=10, maximum=200, value=edge_thresh, step=1, label="Hough Param1 (Edge Threshold)")
|
@@ -327,8 +329,7 @@ with gr.Blocks(title="Solar CME Detection") as demo:
|
|
327 |
demo_btn = gr.Button("Load Demo")
|
328 |
gif_input = gr.File(label="Upload Solar GIF (optional)", file_types=[".gif"])
|
329 |
max_images = gr.Slider(minimum=1, maximum=100, value=10, step=1, label="Max Images to Fetch")
|
330 |
-
|
331 |
-
tool = gr.Textbox(label="Instrument", value="ccor1")
|
332 |
fetch_button = gr.Button("Fetch Images from URL")
|
333 |
analyze_button = gr.Button("Analyze")
|
334 |
|
|
|
309 |
with gr.Sidebar(open=False):
|
310 |
|
311 |
gr.Markdown("### Analysis Parameters")
|
312 |
+
size = gr.Textbox(label="Image Size", value="1024by960")
|
313 |
+
tool = gr.Textbox(label="Instrument", value="ccor1")
|
314 |
lower_bound = gr.Slider(minimum=0, maximum=255, value=low_int, step=1, label="Lower Intensity Bound (0-255)")
|
315 |
upper_bound = gr.Slider(minimum=0, maximum=255, value=high_int, step=1, label="Upper Intensity Bound (0-255)")
|
316 |
param1 = gr.Slider(minimum=10, maximum=200, value=edge_thresh, step=1, label="Hough Param1 (Edge Threshold)")
|
|
|
329 |
demo_btn = gr.Button("Load Demo")
|
330 |
gif_input = gr.File(label="Upload Solar GIF (optional)", file_types=[".gif"])
|
331 |
max_images = gr.Slider(minimum=1, maximum=100, value=10, step=1, label="Max Images to Fetch")
|
332 |
+
|
|
|
333 |
fetch_button = gr.Button("Fetch Images from URL")
|
334 |
analyze_button = gr.Button("Analyze")
|
335 |
|