Spaces:
Runtime error
Runtime error
Update qabot.py
Browse files
qabot.py
CHANGED
|
@@ -30,7 +30,8 @@ model_file = hf_hub_download(
|
|
| 30 |
vector_dp_path = "/home/user/app/vectorstores/db_faiss"
|
| 31 |
|
| 32 |
from prepare_vector_dp import create_db_from_text
|
| 33 |
-
create_db_from_text()
|
|
|
|
| 34 |
|
| 35 |
# Load LLM with CTransformers
|
| 36 |
def load_llm(model_file):
|
|
|
|
| 30 |
vector_dp_path = "/home/user/app/vectorstores/db_faiss"
|
| 31 |
|
| 32 |
from prepare_vector_dp import create_db_from_text
|
| 33 |
+
#create_db_from_text()
|
| 34 |
+
create_dp_from_files()
|
| 35 |
|
| 36 |
# Load LLM with CTransformers
|
| 37 |
def load_llm(model_file):
|