Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -297,11 +297,6 @@ with gr.Blocks(title="Solar CME Detection") as demo:
|
|
| 297 |
fetch_button = gr.Button("Fetch Images from URL")
|
| 298 |
analyze_button = gr.Button("Analyze")
|
| 299 |
|
| 300 |
-
demo_btn.click(
|
| 301 |
-
fn=load_demo,
|
| 302 |
-
inputs=[],
|
| 303 |
-
outputs=[report, preview, fetched_frames_state, total_images]
|
| 304 |
-
)
|
| 305 |
with gr.Column():
|
| 306 |
gr.Markdown("### Outputs")
|
| 307 |
report = gr.Textbox(label="Analysis Report", lines=10)
|
|
@@ -321,6 +316,11 @@ with gr.Blocks(title="Solar CME Detection") as demo:
|
|
| 321 |
outputs=[report, preview, fetched_frames_state, total_images]
|
| 322 |
)
|
| 323 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 324 |
# Analyze button action
|
| 325 |
analyze_button.click(
|
| 326 |
fn=process_input,
|
|
|
|
| 297 |
fetch_button = gr.Button("Fetch Images from URL")
|
| 298 |
analyze_button = gr.Button("Analyze")
|
| 299 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 300 |
with gr.Column():
|
| 301 |
gr.Markdown("### Outputs")
|
| 302 |
report = gr.Textbox(label="Analysis Report", lines=10)
|
|
|
|
| 316 |
outputs=[report, preview, fetched_frames_state, total_images]
|
| 317 |
)
|
| 318 |
|
| 319 |
+
demo_btn.click(
|
| 320 |
+
fn=load_demo,
|
| 321 |
+
inputs=[],
|
| 322 |
+
outputs=[report, preview, fetched_frames_state, total_images]
|
| 323 |
+
)
|
| 324 |
# Analyze button action
|
| 325 |
analyze_button.click(
|
| 326 |
fn=process_input,
|