Skip to content

Commit

Permalink
feat: init ee on ui loading
Browse files Browse the repository at this point in the history
  • Loading branch information
dfguerrerom committed Jun 24, 2024
1 parent 99445e6 commit 6bdd5dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
The nox run are build in isolated environment that will be stored in .nox. to force the venv update, remove the .nox/xxx folder.
"""

from pathlib import Path
from pathlib import Path
import nbformat
from nbconvert.preprocessors import ExecutePreprocessor
Expand Down
13 changes: 4 additions & 9 deletions ui.ipynb
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<center><h1 class=\"text-center h3\" id=\"loading-app\">Setting things up for you... Thanks for waiting!</h1></center>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from sepal_ui.scripts.utils import init_ee\n",
"init_ee()\n",
"import sepal_ui.sepalwidgets as sw\n",
"from sepal_ui import aoi\n",
"from component import model\n",
Expand Down Expand Up @@ -139,10 +134,10 @@
],
"metadata": {
"kernelspec": {
"title": "Global Forest Change module",
"display_name": " (venv) gfc_wrapper_python",
"language": "python",
"name": "venv-gfc_wrapper_python"
"name": "venv-gfc_wrapper_python",
"title": "Global Forest Change module"
},
"language_info": {
"codemirror_mode": {
Expand Down

0 comments on commit 6bdd5dc

Please sign in to comment.