Spaces:
Running
Running
Commit
·
21eed35
1
Parent(s):
546c1a8
update: app
Browse files
application_pages/intro_page.py
CHANGED
@@ -38,11 +38,10 @@ weave_project_name = st.sidebar.text_input(
|
|
38 |
st.session_state.weave_project_name = weave_project_name
|
39 |
wandb_api_key = st.sidebar.text_input("Wandb API Key", value="", type="password")
|
40 |
st.session_state.wandb_api_key = wandb_api_key
|
41 |
-
authenticate_button = st.sidebar.button("Authenticate")
|
42 |
-
st.session_state.authenticate_button = authenticate_button
|
43 |
-
|
44 |
openai_api_key = st.sidebar.text_input("OpenAI API Key", value="", type="password")
|
45 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
|
|
|
|
46 |
|
47 |
if authenticate_button and (
|
48 |
st.session_state.wandb_api_key != "" and st.session_state.weave_project_name != ""
|
|
|
38 |
st.session_state.weave_project_name = weave_project_name
|
39 |
wandb_api_key = st.sidebar.text_input("Wandb API Key", value="", type="password")
|
40 |
st.session_state.wandb_api_key = wandb_api_key
|
|
|
|
|
|
|
41 |
openai_api_key = st.sidebar.text_input("OpenAI API Key", value="", type="password")
|
42 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
43 |
+
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 != "" and st.session_state.weave_project_name != ""
|