Spaces:
Sleeping
Sleeping
onfarmview
commited on
Commit
·
543eb3b
1
Parent(s):
bed93c5
Add application file
Browse files
app.py
CHANGED
@@ -14,15 +14,8 @@ def ee_authenticate(token_name):
|
|
14 |
geemap.ee_initialize(token_name=token_name)
|
15 |
|
16 |
os.environ["EARTHENGINE_TOKEN"] == st.secrets["EARTHENGINE_TOKEN"]
|
17 |
-
# st.write(
|
18 |
-
# "Has environment variables been set:",
|
19 |
-
# os.environ["EARTHENGINE_TOKEN"] == st.secrets["EARTHENGINE_TOKEN"],
|
20 |
-
# )
|
21 |
-
def ee_authenticate(token_name):
|
22 |
-
geemap.ee_initialize(token_name=token_name)
|
23 |
-
|
24 |
-
st.set_page_config(layout="wide")
|
25 |
ee_authenticate(token_name= os.environ["EARTHENGINE_TOKEN"])
|
|
|
26 |
st.sidebar.info(
|
27 |
"""
|
28 |
URL: <https://onfarmview.com>
|
|
|
14 |
geemap.ee_initialize(token_name=token_name)
|
15 |
|
16 |
os.environ["EARTHENGINE_TOKEN"] == st.secrets["EARTHENGINE_TOKEN"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
ee_authenticate(token_name= os.environ["EARTHENGINE_TOKEN"])
|
18 |
+
|
19 |
st.sidebar.info(
|
20 |
"""
|
21 |
URL: <https://onfarmview.com>
|