Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from flask import Flask, render_template, request, redirect, url_for, session
|
|
2 |
import os
|
3 |
from werkzeug.utils import secure_filename
|
4 |
#from retrival import generate_data_store
|
5 |
-
from retrival import generate_data_store
|
6 |
from langchain_community.vectorstores import Chroma
|
7 |
from langchain.embeddings import HuggingFaceEmbeddings
|
8 |
from langchain.prompts import ChatPromptTemplate
|
|
|
2 |
import os
|
3 |
from werkzeug.utils import secure_filename
|
4 |
#from retrival import generate_data_store
|
5 |
+
from retrival import generate_data_store #,add_document_to_existing_db, delete_chunks_by_source
|
6 |
from langchain_community.vectorstores import Chroma
|
7 |
from langchain.embeddings import HuggingFaceEmbeddings
|
8 |
from langchain.prompts import ChatPromptTemplate
|