Spaces:
Sleeping
Sleeping
Commit
·
1fe9554
1
Parent(s):
1b88d98
Update app.py
Browse files
app.py
CHANGED
|
@@ -137,7 +137,7 @@ def create_interface(transcripts_folder_path: str, collection) -> gr.Interface:
|
|
| 137 |
def main():
|
| 138 |
# Get paths using pathlib
|
| 139 |
project_root = Path(__file__).parent
|
| 140 |
-
rag_path = project_root / "Rag"
|
| 141 |
transcripts_folder_path = project_root / "Data" / "transcripts"
|
| 142 |
|
| 143 |
# Initialize ChromaDB with proper error handling
|
|
|
|
| 137 |
def main():
|
| 138 |
# Get paths using pathlib
|
| 139 |
project_root = Path(__file__).parent
|
| 140 |
+
rag_path = project_root / "Rag" / "chromadb.db"
|
| 141 |
transcripts_folder_path = project_root / "Data" / "transcripts"
|
| 142 |
|
| 143 |
# Initialize ChromaDB with proper error handling
|