Spaces:
Sleeping
Sleeping
Commit ·
bd64b4c
1
Parent(s): 75ff8df
Remove auto-refresh to fix compatibility
Browse filesRemove 'every' parameter from demo.load() as it's not supported. Users can manually refresh status using the refresh button.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -209,11 +209,10 @@ with gr.Blocks(title="HuggingFace Webhook Processor") as demo:
|
|
| 209 |
outputs=[recent_messages]
|
| 210 |
)
|
| 211 |
|
| 212 |
-
#
|
| 213 |
demo.load(
|
| 214 |
fn=get_status,
|
| 215 |
-
outputs=[status_text, message_count, batch_count, latest_batch]
|
| 216 |
-
every=5
|
| 217 |
)
|
| 218 |
|
| 219 |
|
|
|
|
| 209 |
outputs=[recent_messages]
|
| 210 |
)
|
| 211 |
|
| 212 |
+
# Load initial status on page load
|
| 213 |
demo.load(
|
| 214 |
fn=get_status,
|
| 215 |
+
outputs=[status_text, message_count, batch_count, latest_batch]
|
|
|
|
| 216 |
)
|
| 217 |
|
| 218 |
|