Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -258,7 +258,7 @@ def process_input(gif_file, max_images, size, tool, lower_bound, upper_bound, pa
|
|
258 |
frames, lower_bound, upper_bound, param1, param2, center_tolerance, morph_iterations, min_rad, display_mode
|
259 |
)
|
260 |
|
261 |
-
return report, results, gif_path, preview, len(frames)
|
262 |
|
263 |
# Gradio Blocks interface
|
264 |
with gr.Blocks(title="Solar CME Detection") as demo:
|
|
|
258 |
frames, lower_bound, upper_bound, param1, param2, center_tolerance, morph_iterations, min_rad, display_mode
|
259 |
)
|
260 |
|
261 |
+
return report, results[0], gif_path, preview, len(frames)
|
262 |
|
263 |
# Gradio Blocks interface
|
264 |
with gr.Blocks(title="Solar CME Detection") as demo:
|