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

Working on a final project for a computer science course. i scripted a extreme gradient boosted regression model to predict the coming days percent changes from my jupyter notebook. I don’t know how to have my anvil UI take in a string from the text box right now. ultimately, i would like to be able to display graphs from my jupyter notebook to my anvil app at the end.

-tony

figured it out looking at my old code. anvil rocks!

3 Likes

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

I just called the my_text=self.text_box_1.text to retrieve the text

1 Like