Use the text property for the SpinButton value.

For some reason the set_value() method is not working.