Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,8 @@ import numpy as np
|
|
| 11 |
model = SentenceTransformer('all-MiniLM-L6-v2')
|
| 12 |
sentence_embed = pd.read_csv('Reference_file.csv')
|
| 13 |
|
|
|
|
|
|
|
| 14 |
# Define the backend function
|
| 15 |
def mapping_code(user_input):
|
| 16 |
emb1 = model.encode(user_input.lower())
|
|
|
|
| 11 |
model = SentenceTransformer('all-MiniLM-L6-v2')
|
| 12 |
sentence_embed = pd.read_csv('Reference_file.csv')
|
| 13 |
|
| 14 |
+
st.write(sentence_embed.head(5))
|
| 15 |
+
|
| 16 |
# Define the backend function
|
| 17 |
def mapping_code(user_input):
|
| 18 |
emb1 = model.encode(user_input.lower())
|