Spaces:
Runtime error
Runtime error
Boardpac/theekshanas
commited on
Commit
•
5c67c5c
1
Parent(s):
d35553d
remove create faiss db button
Browse files
app.py
CHANGED
@@ -102,10 +102,16 @@ def main():
|
|
102 |
|
103 |
st.markdown("\n")
|
104 |
|
105 |
-
if st.button("Create FAISS db"):
|
106 |
-
|
107 |
-
|
108 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
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(
|