Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
11 |
-
|
12 |
|
13 |
#
|
14 |
st.title('🤖 AI Assistance For Website')
|
@@ -24,7 +24,6 @@ st.session_state['Pinecone_API_Key'] = st.sidebar.text_input(
|
|
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...
|
|
|
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')
|
|
|
24 |
|
25 |
st.session_state['website_sitemap'] = st.sidebar.text_input(
|
26 |
"What's your sitemap url?", type="default")
|
|
|
27 |
load_button = st.sidebar.button("Load data to Pinecone", key="load_button")
|
28 |
|
29 |
# If the bove button is clicked, pushing the data to Pinecone...
|