I am a fairly new user.
For my term project I am building a text summarizer using streamlit for front end webapp. The following is the code.
title = st.text_input(‘Movie title’, ‘Please enter the url of the article’)
st.error(‘Please enter a valid input’)
I want to be able to handle the error on the webapp. When a wrong input is entered i want to display an error message rather than this exception:
P.S, I don’t have much time left until my submission.