Hi @ashroy, welcome to the Streamlit community!!
We’re glad you’ve chosen Streamlit to develop and deploy your NLP application!
Streamlit apps are launched using the command: streamlit run app.py
, where app.py
is the Python script containing the code for your app. For example, your app could be called MINetApplication.py
.
Similarly, Streamlit sharing expects the code for your app to be in a .py
file. It is unable to find the file in your repo and thus returns an error. You can solve this by creating a .py
file with the code from your Jupyter notebook* and deploying that Python file.
*Note: Your notebook contains a couple of Jupyter specific commands (magics) such as !pip install stanza
and %time
that you should not copy over into your .py
file.
Happy Streamlit-ing!
Snehan