Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,6 +42,9 @@ def preprocess_text(text):
|
|
| 42 |
# Return the cleaned_chunks
|
| 43 |
return cleaned_chunks
|
| 44 |
|
|
|
|
|
|
|
|
|
|
| 45 |
# Load the pre-trained embedding model that converts text to vectors
|
| 46 |
model = SentenceTransformer('all-MiniLM-L6-v2')
|
| 47 |
|
|
|
|
| 42 |
# Return the cleaned_chunks
|
| 43 |
return cleaned_chunks
|
| 44 |
|
| 45 |
+
cleaned_chunks = preprocess_text(academic_tips_text)
|
| 46 |
+
|
| 47 |
+
|
| 48 |
# Load the pre-trained embedding model that converts text to vectors
|
| 49 |
model = SentenceTransformer('all-MiniLM-L6-v2')
|
| 50 |
|