satyam001 commited on
Commit
f6eff85
1 Parent(s): a752901

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -7,8 +7,8 @@ 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
- if 'website_sitemap' not in st.session_state:
11
- st.session_state['website_sitemap'] = ''
12
 
13
  #
14
  st.title('🤖 AI Assistance For Website')
@@ -22,6 +22,9 @@ st.session_state['HuggingFace_API_Key'] = st.sidebar.text_input(
22
  st.session_state['Pinecone_API_Key'] = st.sidebar.text_input(
23
  "What's your Pinecone API key?", type="password")
24
 
 
 
 
25
  load_button = st.sidebar.button("Load data to Pinecone", key="load_button")
26
 
27
  # If the bove button is clicked, pushing the data to Pinecone...
 
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
+ # if 'website_sitemap' not in st.session_state:
11
+ # st.session_state['website_sitemap'] = ''
12
 
13
  #
14
  st.title('🤖 AI Assistance For Website')
 
22
  st.session_state['Pinecone_API_Key'] = st.sidebar.text_input(
23
  "What's your Pinecone API key?", type="password")
24
 
25
+ st.session_state['website_sitemap'] = st.sidebar.text_input(
26
+ "What's your sitemap url?", type="default")
27
+
28
  load_button = st.sidebar.button("Load data to Pinecone", key="load_button")
29
 
30
  # If the bove button is clicked, pushing the data to Pinecone...