Spaces:
Runtime error
Runtime error
Upload knowledge base
Browse files
app.py
CHANGED
|
@@ -11,3 +11,7 @@ import torch
|
|
| 11 |
# a machine learning library that that performs cosine similarity calculations
|
| 12 |
import numpy as np
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
# a machine learning library that that performs cosine similarity calculations
|
| 12 |
import numpy as np
|
| 13 |
|
| 14 |
+
# upload knowledge base - from sentiment analysis lab
|
| 15 |
+
with open("essay_writing.txt", "r", encoding="utf-8") as file:
|
| 16 |
+
essay_writing = file.read()
|
| 17 |
+
|