-
Dear Prof Qiusheng Wu, Thank you this great repo. I am also beginning to deploy my GEE code onto streamlit. However I encounter a problem with the ee.ServiceAccountCredentials(SERVICE_ACCOUNT, KEY) on strealit cloud. as we have known the KEY argument is on json file but streamlit cloud ask to convert it to toml format and save it onto its secret. I manage to write in toml format and paste them into stremlit secret on cloud however it returns st.secrets has no attribute "endswith" . Did you also face this error in the past? I have struggled to solve this problem but still stcuk. I was wondering how you manage the authentification and initilization process on stremlit cloud. Thank you for you time. Look forward to hearing from you Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Wrap the key with triple quotes, like this: |
Beta Was this translation helpful? Give feedback.
Wrap the key with triple quotes, like this: