Streamlit app deployment error - gspread

Please help with this error

Here is the link to the app - https://roicalcbasl.streamlit.app/

Make sure you have a requirements.txt file in your repository to install gspread. When you deploy an app to Streamlit Community Cloud, it is launched in a container that just has Python and Streamlit installed. Anything else you need to pip install to run your app needs to be specified in requirements.txt:

image
Its already added

typo: requirements.txt

Oops Thanks a lottttttt.

But now

Of course this does not work, because key.json ist not in your github (and shouldn’t).
It doesn’t work like that, familiarize yourself with st.secrets

Thanks a lottttttttttttttttttt.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.