Spaces:
Runtime error
Runtime error
edf
commited on
Commit
•
615b029
1
Parent(s):
9bfaa5a
fixed typo
Browse files
app.py
CHANGED
@@ -221,7 +221,7 @@ class TranscriptVectorStore:
|
|
221 |
self._summary = ""
|
222 |
|
223 |
def create_or_read_vectorstore(self, persist_dir, rebuild=False):
|
224 |
-
if persist_dir
|
225 |
if os.path.isdir(persist_dir) and not rebuild:
|
226 |
self.vs = Chroma(persist_directory=persist_dir, embedding_function=self.embedder)
|
227 |
else:
|
|
|
221 |
self._summary = ""
|
222 |
|
223 |
def create_or_read_vectorstore(self, persist_dir, rebuild=False):
|
224 |
+
if persist_dir:
|
225 |
if os.path.isdir(persist_dir) and not rebuild:
|
226 |
self.vs = Chroma(persist_directory=persist_dir, embedding_function=self.embedder)
|
227 |
else:
|