Spaces:
Sleeping
Sleeping
Stop external callers from killing runs via the public API
#5
by arminfg - opened
A caller sent the string 'ping' to the auto-named /start endpoint and then hit /stop, halting a run at 163k steps. On a public Space, named Gradio endpoints get probed, and start/stop mutate training state.
- api_name=False on both button handlers so they are UI-only
- coerce the timesteps input defensively and log junk instead of raising
(the Number min/max bounds check was what threw the TypeError) - keep the read-only log/status endpoints exposed for remote monitoring
arminfg changed pull request status to merged