Thalapathy Vijay commited on
Commit
e2965c2
Β·
1 Parent(s): a0cdb9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -4,9 +4,9 @@ import constants
4
 
5
  # Creating Session State Variable
6
  if 'HuggingFace_API_Key' not in st.session_state:
7
- st.session_state['HuggingFace_API_Key'] =''
8
  if 'Pinecone_API_Key' not in st.session_state:
9
- st.session_state['Pinecone_API_Key'] =''
10
 
11
 
12
  #
@@ -16,8 +16,8 @@ st.title('πŸ€– AI Assistance For Website')
16
 
17
  # Sidebar to capture the API keys
18
  st.sidebar.title("πŸ˜ŽπŸ—οΈ")
19
- st.session_state['HuggingFace_API_Key']= st.sidebar.text_input("What's your HuggingFace API key?",type="password")
20
- st.session_state['Pinecone_API_Key']= st.sidebar.text_input("What's your Pinecone API key?",type="password")
21
 
22
  load_button = st.sidebar.button("Load data to Pinecone", key="load_button")
23
 
 
4
 
5
  # Creating Session State Variable
6
  if 'HuggingFace_API_Key' not in st.session_state:
7
+ st.session_state['HuggingFace_API_Key'] ='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'
8
  if 'Pinecone_API_Key' not in st.session_state:
9
+ st.session_state['Pinecone_API_Key'] ='e230380c-daab-4529-8e5a-4fa84e6788d9'
10
 
11
 
12
  #
 
16
 
17
  # Sidebar to capture the API keys
18
  st.sidebar.title("πŸ˜ŽπŸ—οΈ")
19
+ #st.session_state['HuggingFace_API_Key']= st.sidebar.text_input("What's your HuggingFace API key?",type="password")
20
+ #st.session_state['Pinecone_API_Key']= st.sidebar.text_input("What's your Pinecone API key?",type="password")
21
 
22
  load_button = st.sidebar.button("Load data to Pinecone", key="load_button")
23