heikowagner commited on
Commit
b45426b
1 Parent(s): 2342754

remove VectorStore

Browse files
app/VectorStore/chroma-collections.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e65624a226acdd91b0686aede21cb17c270204829fcc86602f16a6352b877337
3
- size 943
 
 
 
 
app/VectorStore/chroma-embeddings.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:df81409ab51d0acf63d8e0ad64f6af92daa192afb80667f08fe48fdcba095b1a
3
- size 9201921
 
 
 
 
app/VectorStore/index/id_to_uuid_0244568c-57df-4dab-9a52-e4703f31eeaa.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:df8c9c0ad0e24164c8cdea96715e56553fc72fcb3dc7e7d7da60f0f9cf38ef1c
3
- size 1640
 
 
 
 
app/VectorStore/index/id_to_uuid_52984ff2-d9c3-459b-acc0-0b0aa559d50f.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:25fca5ee26534c9df1cfaf6fe82d8aaea2c65bdc8e81e3c047c7546c7ea33466
3
- size 153298
 
 
 
 
app/VectorStore/index/id_to_uuid_90530179-2196-4073-89e7-11f14538d27c.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7296f8de5fb49d35a4e1b00cdc056b260b4a57b3d320f72d1c20982acd6c5f37
3
- size 3371
 
 
 
 
app/VectorStore/index/id_to_uuid_c7afa6d4-2cfe-493a-927d-a30b6f6ed996.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a848348a950ba8fcd605e4b04a2fd81f938587e0234abbb3b4db7ad693bf8d0d
3
- size 1445149
 
 
 
 
app/VectorStore/index/index_0244568c-57df-4dab-9a52-e4703f31eeaa.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae356cfeea07ada1ba8342dfd128fdb76f212e37ba0e2876fccafe2b16bd95e3
3
- size 164384
 
 
 
 
app/VectorStore/index/index_52984ff2-d9c3-459b-acc0-0b0aa559d50f.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:111dc06e8480103cd32c60d5719a1091ac939ce09dbbdf0a979ed72590dd3095
3
- size 15211024
 
 
 
 
app/VectorStore/index/index_90530179-2196-4073-89e7-11f14538d27c.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3015aa28224dce1211e2498699823bdee0958c6f024dd28ed317c0ec7e401556
3
- size 341400
 
 
 
 
app/VectorStore/index/index_c7afa6d4-2cfe-493a-927d-a30b6f6ed996.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b6278607ce39747eb13ed7e117bc114cc231f4b8f4638269a2f3536e4729e338
3
- size 143197708
 
 
 
 
app/VectorStore/index/index_metadata_0244568c-57df-4dab-9a52-e4703f31eeaa.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:757150b880764d792751d3d3675056820575f39244ff3401bbf602f213ba7df9
3
- size 73
 
 
 
 
app/VectorStore/index/index_metadata_52984ff2-d9c3-459b-acc0-0b0aa559d50f.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:950e65792fc96c61638586850536a6b92d603d0d8e357fa7028dee790eff793d
3
- size 74
 
 
 
 
app/VectorStore/index/index_metadata_90530179-2196-4073-89e7-11f14538d27c.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a6d8aafc2b81de7e6a55297e5029654ee387b8774a6f91d5d702420e1ff80c78
3
- size 73
 
 
 
 
app/VectorStore/index/index_metadata_c7afa6d4-2cfe-493a-927d-a30b6f6ed996.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ff10f5fcfc8d53e24171409bb560e5a7addbac73f57a25d3c8c71a3a01645d80
3
- size 74
 
 
 
 
app/VectorStore/index/uuid_to_id_0244568c-57df-4dab-9a52-e4703f31eeaa.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e3a5ae6784f1c41a78ce924bc4fd48d24083fb9df13ce10e271a25d00303f9e4
3
- size 1903
 
 
 
 
app/VectorStore/index/uuid_to_id_52984ff2-d9c3-459b-acc0-0b0aa559d50f.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d98cc469e10b5a1d092e046f96a528edf2f3b302da4340e56f27846728b5b853
3
- size 179261
 
 
 
 
app/VectorStore/index/uuid_to_id_90530179-2196-4073-89e7-11f14538d27c.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5a97f316acd65482df9ed256c51cdb8c113d53e1d70346a666350ed625f2da76
3
- size 3938
 
 
 
 
app/VectorStore/index/uuid_to_id_c7afa6d4-2cfe-493a-927d-a30b6f6ed996.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:91cdf0f3a7086cd4c5c96b8e54b8dd930a0aa4f29ab587809eb061a1511c5cb2
3
- size 1689782
 
 
 
 
app/utils.py CHANGED
@@ -54,9 +54,9 @@ def load_files():
54
 
55
  option = st.radio(
56
  "",
57
- options=["Upload Files", "Download Files"],
58
  )
59
- if option == "Upload Files":
60
  st.write('Source Documents:')
61
  uploaded_files = st.file_uploader("Choose a PDF file", accept_multiple_files=True)
62
  chunk_size = st.text_area('chunk Size:', 1000)
@@ -67,7 +67,7 @@ def load_files():
67
  create_and_add(selected_collection, sub_docs, "hkunlp/instructor-large")
68
  uploaded_files=None
69
  else:
70
- st.write('Source Documents (Comma separated):')
71
  urls = chunk_size = st.text_area('Urls:', '')
72
  chunk_size = st.text_area('chunk Size:', 1000)
73
  urls = urls.replace(",", "" ).replace('"', "" ).split(',')
 
54
 
55
  option = st.radio(
56
  "",
57
+ options=["Upload Files from Local", "Upload Files from Web"],
58
  )
59
+ if option == "Upload Files from Local":
60
  st.write('Source Documents:')
61
  uploaded_files = st.file_uploader("Choose a PDF file", accept_multiple_files=True)
62
  chunk_size = st.text_area('chunk Size:', 1000)
 
67
  create_and_add(selected_collection, sub_docs, "hkunlp/instructor-large")
68
  uploaded_files=None
69
  else:
70
+ st.write('Urls of Source Documents (Comma separated):')
71
  urls = chunk_size = st.text_area('Urls:', '')
72
  chunk_size = st.text_area('chunk Size:', 1000)
73
  urls = urls.replace(",", "" ).replace('"', "" ).split(',')