Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,11 +7,11 @@ import io
|
|
| 7 |
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
| 8 |
sys.path.append(parent_dir)
|
| 9 |
|
| 10 |
-
service_account = 'earthengine@ee-yudingyi054.iam.gserviceaccount.com'
|
| 11 |
-
credentials = ee.ServiceAccountCredentials(service_account, 'ee-yudingyi054-64e93ae89dc1.json')
|
| 12 |
|
| 13 |
import ee
|
| 14 |
# ee.Authenticate()
|
|
|
|
|
|
|
| 15 |
|
| 16 |
import math
|
| 17 |
from shiny import App, render, ui, reactive, Inputs, Outputs, Session
|
|
|
|
| 7 |
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
| 8 |
sys.path.append(parent_dir)
|
| 9 |
|
|
|
|
|
|
|
| 10 |
|
| 11 |
import ee
|
| 12 |
# ee.Authenticate()
|
| 13 |
+
service_account = 'earthengine@ee-yudingyi054.iam.gserviceaccount.com'
|
| 14 |
+
credentials = ee.ServiceAccountCredentials(service_account, 'ee-yudingyi054-64e93ae89dc1.json')
|
| 15 |
|
| 16 |
import math
|
| 17 |
from shiny import App, render, ui, reactive, Inputs, Outputs, Session
|