Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,12 +2,14 @@ import os
|
|
| 2 |
import sys
|
| 3 |
import time
|
| 4 |
import io
|
|
|
|
| 5 |
|
| 6 |
# Add the parent directory to the Python path
|
| 7 |
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
| 8 |
sys.path.append(parent_dir)
|
| 9 |
|
| 10 |
print_with_line_number(os.environ.get("SERVICE_EMAIL"))
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
import ee
|
|
@@ -28,7 +30,6 @@ import requests
|
|
| 28 |
import traceback
|
| 29 |
from datetime import datetime, date
|
| 30 |
from typing import List
|
| 31 |
-
from utils import print_with_line_number
|
| 32 |
from timezonefinder import TimezoneFinder
|
| 33 |
|
| 34 |
# Library for ANN model loading
|
|
|
|
| 2 |
import sys
|
| 3 |
import time
|
| 4 |
import io
|
| 5 |
+
from utils import print_with_line_number
|
| 6 |
|
| 7 |
# Add the parent directory to the Python path
|
| 8 |
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
| 9 |
sys.path.append(parent_dir)
|
| 10 |
|
| 11 |
print_with_line_number(os.environ.get("SERVICE_EMAIL"))
|
| 12 |
+
print_with_line_number(os.environ.get("SERVICE_JSON"))
|
| 13 |
|
| 14 |
|
| 15 |
import ee
|
|
|
|
| 30 |
import traceback
|
| 31 |
from datetime import datetime, date
|
| 32 |
from typing import List
|
|
|
|
| 33 |
from timezonefinder import TimezoneFinder
|
| 34 |
|
| 35 |
# Library for ANN model loading
|