use secrets
Browse files- .gitignore +1 -0
- dashboard_utils/bubbles.py +1 -1
- dashboard_utils/main_metrics.py +1 -1
.gitignore
CHANGED
@@ -6,4 +6,5 @@ streamlit_observable/frontend/package.json*
|
|
6 |
streamlit_observable/frontend/package-lock.json*
|
7 |
streamlit_observable/frontend/tsconfig.json*
|
8 |
streamlit_observable/frontend/src/observable_code*
|
|
|
9 |
*__pycache__*
|
|
|
6 |
streamlit_observable/frontend/package-lock.json*
|
7 |
streamlit_observable/frontend/tsconfig.json*
|
8 |
streamlit_observable/frontend/src/observable_code*
|
9 |
+
.streamlit/secrets.toml*
|
10 |
*__pycache__*
|
dashboard_utils/bubbles.py
CHANGED
@@ -11,7 +11,7 @@ from requests_futures.sessions import FuturesSession
|
|
11 |
from dashboard_utils.time_tracker import _log, simple_time_tracker
|
12 |
|
13 |
URL_QUICKSEARCH = "https://huggingface.co/api/quicksearch?"
|
14 |
-
WANDB_REPO = "
|
15 |
CACHE_TTL = 100
|
16 |
MAX_DELTA_ACTIVE_RUN_SEC = 60 * 5
|
17 |
|
|
|
11 |
from dashboard_utils.time_tracker import _log, simple_time_tracker
|
12 |
|
13 |
URL_QUICKSEARCH = "https://huggingface.co/api/quicksearch?"
|
14 |
+
WANDB_REPO = st.secrets["WANDB_REPO_INDIVIDUAL_METRICS"]
|
15 |
CACHE_TTL = 100
|
16 |
MAX_DELTA_ACTIVE_RUN_SEC = 60 * 5
|
17 |
|
dashboard_utils/main_metrics.py
CHANGED
@@ -5,7 +5,7 @@ import wandb
|
|
5 |
|
6 |
from dashboard_utils.time_tracker import _log, simple_time_tracker
|
7 |
|
8 |
-
WANDB_REPO = "
|
9 |
CACHE_TTL = 100
|
10 |
|
11 |
|
|
|
5 |
|
6 |
from dashboard_utils.time_tracker import _log, simple_time_tracker
|
7 |
|
8 |
+
WANDB_REPO = st.secrets["WANDB_REPO_MAIN_METRICS"]
|
9 |
CACHE_TTL = 100
|
10 |
|
11 |
|