Dingyi6 commited on
Commit
55cce6e
·
1 Parent(s): db0a405

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ sys.path.append(parent_dir)
11
 
12
  import ee
13
  # Add Google Service account credential. Authenticates to the Earth Engine servers.
14
- credentials = ee.ServiceAccountCredentials(os.environ.get("SERVICE_EMAIL"), os.environ.get("SERVICE_JSON"))
15
 
16
  import math
17
  from shiny import App, render, ui, reactive, Inputs, Outputs, Session
 
11
 
12
  import ee
13
  # Add Google Service account credential. Authenticates to the Earth Engine servers.
14
+ credentials = ee.ServiceAccountCredentials(os.environ.get("SERVICE_EMAIL"), key_data=os.environ.get("SERVICE_JSON"))
15
 
16
  import math
17
  from shiny import App, render, ui, reactive, Inputs, Outputs, Session