Boardpac/theekshanas commited on
Commit
5c67c5c
1 Parent(s): d35553d

remove create faiss db button

Browse files
Files changed (1) hide show
  1. app.py +10 -4
app.py CHANGED
@@ -102,10 +102,16 @@ def main():
102
 
103
  st.markdown("\n")
104
 
105
- if st.button("Create FAISS db"):
106
- with st.spinner('creating faiss vector store'):
107
- create_faiss()
108
- st.success('faiss saved')
 
 
 
 
 
 
109
 
110
 
111
  st.markdown(
 
102
 
103
  st.markdown("\n")
104
 
105
+ # if st.button("Create FAISS db"):
106
+ # try:
107
+ # with st.spinner('creating faiss vector store'):
108
+ # create_faiss()
109
+ # st.success('faiss saved')
110
+ # except Exception as e:
111
+ # st.error(f"Error : {e}")#, icon=":books:")
112
+ # return
113
+
114
+
115
 
116
 
117
  st.markdown(