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:
Hey @Cyubahiro_Patrick ,
Thanks for linking your google drive with some test excel files, they were very helpful for me to test the code you sent.
So I have this working locally:
Firstly, in your def main() you need to add in a couple logic statements so that if the user has not put in anything in your input fields, the app does not try to run with those empty. Those are both errors that you have screenshotted in your drive:
[Streamlit run (1)]
I have fixed this like so:
def main():
f…
Happy Streamlit-ing!
Marisa