Fix issue where web interface cannot run gravity
Fix issue where web interface cannot run gravity: a task in Trending-SWE1.0 (Harbor dataset). Title: Fix issue where web interface cannot run gravity
The task
**Title:** Fix issue where web interface cannot run gravity
Part of scalingX/Trending-SWE1.0.