Spaces:
Build error
Build error
pgzmnk
commited on
Commit
•
83c7368
1
Parent(s):
d03f5ec
Sort imports.
Browse files
app.py
CHANGED
@@ -1,30 +1,16 @@
|
|
1 |
-
import
|
2 |
-
import plotly.graph_objects as go
|
3 |
-
|
4 |
-
# import ee
|
5 |
-
# # import geemap
|
6 |
-
|
7 |
-
# # GEE
|
8 |
-
# service_account = 'climatebase-july-2023@ee-geospatialml-aquarry.iam.gserviceaccount.com'
|
9 |
-
# credentials = ee.ServiceAccountCredentials(service_account, 'service_account.json')
|
10 |
-
# ee.Initialize(credentials)
|
11 |
-
|
12 |
-
# # Gradio dataset
|
13 |
-
# dataset = load_dataset("gradio/NYC-Airbnb-Open-Data", split="train")
|
14 |
-
# df = dataset.to_pandas()
|
15 |
-
|
16 |
import os
|
|
|
17 |
import duckdb
|
18 |
-
import pandas as pd
|
19 |
-
import datetime
|
20 |
import ee
|
21 |
-
|
22 |
-
|
|
|
23 |
import yaml
|
24 |
|
|
|
25 |
# Define constants
|
26 |
MD_SERVICE_TOKEN = "md_service_token.txt"
|
27 |
-
# to-do: set-up with papermill parameters
|
28 |
DATE = "2020-01-01"
|
29 |
YEAR = 2020
|
30 |
LOCATION = [-74.653370, 5.845328]
|
|
|
1 |
+
import datetime
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import os
|
3 |
+
|
4 |
import duckdb
|
|
|
|
|
5 |
import ee
|
6 |
+
import gradio as gr
|
7 |
+
import pandas as pd
|
8 |
+
import plotly.graph_objects as go
|
9 |
import yaml
|
10 |
|
11 |
+
|
12 |
# Define constants
|
13 |
MD_SERVICE_TOKEN = "md_service_token.txt"
|
|
|
14 |
DATE = "2020-01-01"
|
15 |
YEAR = 2020
|
16 |
LOCATION = [-74.653370, 5.845328]
|