Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,6 +32,10 @@ app.add_middleware(
|
|
| 32 |
clf = joblib.load('./deforestation_percentage_model.joblib')
|
| 33 |
|
| 34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
config = SHConfig()
|
| 36 |
config.sh_client_id =os.getenv('SENTINENTAL_ID')
|
| 37 |
config.sh_client_secret =os.getenv('SENTINENTAL_PASS')
|
|
|
|
| 32 |
clf = joblib.load('./deforestation_percentage_model.joblib')
|
| 33 |
|
| 34 |
|
| 35 |
+
os.environ["SENTINELHUB_CONFIG_FOLDER"] = "/app/.config/sentinelhub"
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
|
| 39 |
config = SHConfig()
|
| 40 |
config.sh_client_id =os.getenv('SENTINENTAL_ID')
|
| 41 |
config.sh_client_secret =os.getenv('SENTINENTAL_PASS')
|