Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -259,7 +259,7 @@ def process_input(gif_file, max_images, size, tool, lower_bound, upper_bound, pa
|
|
259 |
)
|
260 |
|
261 |
return report, results, gif_path, preview, len(frames)
|
262 |
-
def load_demo():
|
263 |
gif_file="https://huggingface.co/spaces/broadfield-dev/detect-cme/resolve/main/demo_gif.gif"
|
264 |
if gif_file:
|
265 |
frames, error = extract_frames(gif_file)
|
|
|
259 |
)
|
260 |
|
261 |
return report, results, gif_path, preview, len(frames)
|
262 |
+
def load_demo(gif_file, max_images, size, tool, lower_bound, upper_bound, param1, param2, center_tolerance, morph_iterations, min_rad, display_mode, fetched_frames_state):
|
263 |
gif_file="https://huggingface.co/spaces/broadfield-dev/detect-cme/resolve/main/demo_gif.gif"
|
264 |
if gif_file:
|
265 |
frames, error = extract_frames(gif_file)
|