broadfield-dev commited on
Commit
536675c
·
verified ·
1 Parent(s): 6b98718

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -292,9 +292,9 @@ def load_demo():
292
  return "No fetched frames available. Please fetch images first.", [], None, [], 0
293
  preview = [Image.fromarray(frame) for frame in frames] if frames else []
294
 
 
 
295
 
296
-
297
- return "Demo Loaded", preview, None, preview, len(frames)
298
 
299
  # Gradio Blocks interface
300
  with gr.Blocks(title="Solar CME Detection") as demo:
 
292
  return "No fetched frames available. Please fetch images first.", [], None, [], 0
293
  preview = [Image.fromarray(frame) for frame in frames] if frames else []
294
 
295
+ message="Demo Loaded"
296
+ return message, preview, frames, total_images
297
 
 
 
298
 
299
  # Gradio Blocks interface
300
  with gr.Blocks(title="Solar CME Detection") as demo: