Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,6 @@ def preprocess_text(text):
|
|
| 43 |
cleaned_chunks = preprocess_text(water_cycle_text) # Complete this line; edit with my knowledgebase when ready
|
| 44 |
|
| 45 |
# SEMANTIC SEARCH STEP 4
|
| 46 |
-
# Load the pre-trained embedding model that converts text to vectors
|
| 47 |
model = SentenceTransformer('all-MiniLM-L6-v2')
|
| 48 |
|
| 49 |
def create_embeddings(text_chunks):
|
|
|
|
| 43 |
cleaned_chunks = preprocess_text(water_cycle_text) # Complete this line; edit with my knowledgebase when ready
|
| 44 |
|
| 45 |
# SEMANTIC SEARCH STEP 4
|
|
|
|
| 46 |
model = SentenceTransformer('all-MiniLM-L6-v2')
|
| 47 |
|
| 48 |
def create_embeddings(text_chunks):
|