Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|