Spaces:
Runtime error
Runtime error
Update qabot.py
Browse files
qabot.py
CHANGED
|
@@ -24,6 +24,9 @@ model_file = hf_hub_download(
|
|
| 24 |
# Vector store location
|
| 25 |
vector_dp_path = "vectorstores/db_faiss"
|
| 26 |
|
|
|
|
|
|
|
|
|
|
| 27 |
# Load LLM with CTransformers
|
| 28 |
def load_llm(model_file):
|
| 29 |
return CTransformers(
|
|
|
|
| 24 |
# Vector store location
|
| 25 |
vector_dp_path = "vectorstores/db_faiss"
|
| 26 |
|
| 27 |
+
from prepare_vector_dp import create_db_from_text
|
| 28 |
+
create_db_from_text()
|
| 29 |
+
|
| 30 |
# Load LLM with CTransformers
|
| 31 |
def load_llm(model_file):
|
| 32 |
return CTransformers(
|