Spaces:
Runtime error
Runtime error
try to remove scheduler, as the dashboard doesn't load any numbers
Browse files
app.py
CHANGED
|
@@ -435,11 +435,6 @@ def main() -> None:
|
|
| 435 |
# Initial data fetching
|
| 436 |
fetch_data()
|
| 437 |
|
| 438 |
-
scheduler = BackgroundScheduler()
|
| 439 |
-
scheduler.add_job(
|
| 440 |
-
func=fetch_data, trigger="interval", seconds=update_interval, max_instances=1
|
| 441 |
-
)
|
| 442 |
-
scheduler.start()
|
| 443 |
|
| 444 |
# To avoid the orange border for the Gradio elements that are in constant loading
|
| 445 |
css = """
|
|
|
|
| 435 |
# Initial data fetching
|
| 436 |
fetch_data()
|
| 437 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 438 |
|
| 439 |
# To avoid the orange border for the Gradio elements that are in constant loading
|
| 440 |
css = """
|