I set-up the flask app with a basic POST request to feed data to the front-end. A few things to note:
I think we''ll need more endpoints for the back-end to actually update itself. I started a function for this but after a bit of research, I think endpoints are the way to go. I jotted a few notes in the code about my findings.
I realized my prompt generation and story data class do not account for which tag has been selected. I'll need to adjust my older functions to properly generate data.
I tried to move all the previous data from the loop into the new POST request
I set-up the flask app with a basic POST request to feed data to the front-end. A few things to note: