Spaces:
Sleeping
Sleeping
Update analyzing.py
Browse files- analyzing.py +2 -2
analyzing.py
CHANGED
@@ -573,7 +573,7 @@ col1, col2 = st.columns(2)
|
|
573 |
with col1:
|
574 |
col_parsed = st.selectbox("Which column do you want to query?", st.session_state['parsed_responses'].columns)
|
575 |
with col2:
|
576 |
-
GEMINI_KEY = st.text_input('Gemini API Key', GEMINI_KEY, type='password', help="Enter your Gemini API key")
|
577 |
|
578 |
if col_parsed and GEMINI_KEY:
|
579 |
selected_column_data = st.session_state['parsed_responses'][col_parsed].tolist()
|
@@ -700,7 +700,7 @@ if 'analysis_complete' in st.session_state and st.session_state['analysis_comple
|
|
700 |
with col1:
|
701 |
col_parsed2 = st.selectbox("Which columns do you want to query?", parsed2.columns)
|
702 |
with col2:
|
703 |
-
GEMINI_KEY = st.text_input('Gemini APIs Key', GEMINI_KEY, type='password', help="Enter your Gemini API key")
|
704 |
if col_parsed2 and GEMINI_KEY:
|
705 |
selected_column_data2 = parsed2[col_parsed2].tolist()
|
706 |
question2 = st.text_input("Ask a questions or leave empty for summarization")
|
|
|
573 |
with col1:
|
574 |
col_parsed = st.selectbox("Which column do you want to query?", st.session_state['parsed_responses'].columns)
|
575 |
with col2:
|
576 |
+
GEMINI_KEY = st.text_input('Gemini API Key', value=GEMINI_KEY, type='password', help="Enter your Gemini API key")
|
577 |
|
578 |
if col_parsed and GEMINI_KEY:
|
579 |
selected_column_data = st.session_state['parsed_responses'][col_parsed].tolist()
|
|
|
700 |
with col1:
|
701 |
col_parsed2 = st.selectbox("Which columns do you want to query?", parsed2.columns)
|
702 |
with col2:
|
703 |
+
GEMINI_KEY = st.text_input('Gemini APIs Key', value=GEMINI_KEY, type='password', help="Enter your Gemini API key")
|
704 |
if col_parsed2 and GEMINI_KEY:
|
705 |
selected_column_data2 = parsed2[col_parsed2].tolist()
|
706 |
question2 = st.text_input("Ask a questions or leave empty for summarization")
|