Spaces:
Runtime error
Runtime error
Update app.py
Browse files260 unmodified lines261262263264265266260 unmodified linestry:# Now restart the spaceAPI.restart_space(repo_id=REPO_ID, token=HF_TOKEN)logging.info("Space restarted successfully.")except Exception as e:logging.error(f"Failed to restart space: {e}")260 unmodified lines261262263264265266267268260 unmodified linestry:# Now restart the spaceAPI.restart_space(repo_id=REPO_ID, token=HF_TOKEN)scheduler.start(split="complete", subset="full", samples="", check_gt_only=True)scheduler.start(split="complete", subset="hard", samples="", check_gt_only=True)logging.info("Space restarted successfully.")except Exception as e:logging.error(f"Failed to restart space: {e}")
app.py+2