How to have textbox take in string to send to my xgboost regression model?

Feel free to share your solution so others may benefit, if possible.

In the meantime, here are some potentially helpful links for others:

text box docs
jupyter lab and Anvil
serializing plotly charts