Spaces:
Running
Running
geekyrakshit
commited on
Commit
•
0ee7aed
1
Parent(s):
1a146c5
update: app + secrets detection dependencies
Browse files- application_pages/intro_page.py +3 -1
- pyproject.toml +2 -0
- requirements.txt +2 -0
application_pages/intro_page.py
CHANGED
@@ -44,7 +44,9 @@ authenticate_button = st.sidebar.button("Authenticate")
|
|
44 |
st.session_state.authenticate_button = authenticate_button
|
45 |
|
46 |
if authenticate_button and (
|
47 |
-
st.session_state.wandb_api_key != ""
|
|
|
|
|
48 |
):
|
49 |
is_wandb_logged_in = wandb.login(key=st.session_state.wandb_api_key, relogin=True)
|
50 |
if is_wandb_logged_in:
|
|
|
44 |
st.session_state.authenticate_button = authenticate_button
|
45 |
|
46 |
if authenticate_button and (
|
47 |
+
st.session_state.wandb_api_key != ""
|
48 |
+
and st.session_state.weave_project_name != ""
|
49 |
+
and openai_api_key != ""
|
50 |
):
|
51 |
is_wandb_logged_in = wandb.login(key=st.session_state.wandb_api_key, relogin=True)
|
52 |
if is_wandb_logged_in:
|
pyproject.toml
CHANGED
@@ -6,8 +6,10 @@ readme = "README.md"
|
|
6 |
requires-python = ">=3.10"
|
7 |
dependencies = [
|
8 |
"datasets>=3.1.0",
|
|
|
9 |
"evaluate>=0.4.3",
|
10 |
"google-generativeai>=0.8.3",
|
|
|
11 |
"openai>=1.52.2",
|
12 |
"weave @ git+https://github.com/wandb/weave@feat/eval-progressbar",
|
13 |
"streamlit>=1.40.1",
|
|
|
6 |
requires-python = ">=3.10"
|
7 |
dependencies = [
|
8 |
"datasets>=3.1.0",
|
9 |
+
"detect-secrets>=1.5.0",
|
10 |
"evaluate>=0.4.3",
|
11 |
"google-generativeai>=0.8.3",
|
12 |
+
"hyperscan>=0.7.8",
|
13 |
"openai>=1.52.2",
|
14 |
"weave @ git+https://github.com/wandb/weave@feat/eval-progressbar",
|
15 |
"streamlit>=1.40.1",
|
requirements.txt
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
datasets>=3.1.0
|
|
|
2 |
evaluate>=0.4.3
|
3 |
google-generativeai>=0.8.3
|
|
|
4 |
openai>=1.52.2
|
5 |
weave @ git+https://github.com/wandb/weave@feat/eval-progressbar
|
6 |
streamlit>=1.40.1
|
|
|
1 |
datasets>=3.1.0
|
2 |
+
detect-secrets>=1.5.0
|
3 |
evaluate>=0.4.3
|
4 |
google-generativeai>=0.8.3
|
5 |
+
hyperscan>=0.7.8
|
6 |
openai>=1.52.2
|
7 |
weave @ git+https://github.com/wandb/weave@feat/eval-progressbar
|
8 |
streamlit>=1.40.1
|