First, go to the script workspace and hit play on the script. This script will set an empty's position/rotation to the viewport camera's to make the gaussian splats face it properly for preview.
I want to change an input value of my geometry nodes modifier with the "Object Attribute Output" node. I found that the "Object Attribute Output" node could change the value shown in the modifier UI.