pushp2401doaz commited on
Commit
eb03ff0
·
verified ·
1 Parent(s): ed228a7

updated line 76-79

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -73,10 +73,10 @@ def remove_low_size_images(data_path):
73
  os.remove(os.path.join(data_path, one_image))
74
 
75
  def initialize_qdrant(temp_dir):
76
- try :
77
- client = qdrant_client.QdrantClient(path="qdrant_mm_db_pipeline")
78
- except :
79
- pass
80
  if "vectordatabase" not in st.session_state or not st.session_state.vectordatabase:
81
  text_store = QdrantVectorStore(client=client, collection_name="text_collection_pipeline")
82
  image_store = QdrantVectorStore(client=client, collection_name="image_collection_pipeline")
 
73
  os.remove(os.path.join(data_path, one_image))
74
 
75
  def initialize_qdrant(temp_dir):
76
+ # try :
77
+ client = qdrant_client.QdrantClient(path="qdrant_mm_db_pipeline")
78
+ # except :
79
+ # pass
80
  if "vectordatabase" not in st.session_state or not st.session_state.vectordatabase:
81
  text_store = QdrantVectorStore(client=client, collection_name="text_collection_pipeline")
82
  image_store = QdrantVectorStore(client=client, collection_name="image_collection_pipeline")