How to first wait for the text input from the user then move ahead with the remaining code using streamlit as this input taken via streamlit UI needs to be passed as token in the next step?

How to first wait for the text input from the user then move ahead with the remaining code using streamlit as this input taken via streamlit UI needs to be passed as token in the next step?

Hey @Shadab_Hussain,

The easiest way is to add python logic statements to only run the rest of the script if the conditional is met.

Checkout this example where I added logic statements in:

Happy Streamlit-ing!
Marisa