Spaces:
Sleeping
Sleeping
JasonTPhillipsJr
commited on
Commit
•
3c0adea
1
Parent(s):
b2177cd
Update app.py
Browse files
app.py
CHANGED
@@ -262,7 +262,7 @@ lower_case_review = selected_review.lower()
|
|
262 |
if st.button("Process Review"):
|
263 |
if lower_case_review.strip():
|
264 |
bert_embedding = get_bert_embedding(lower_case_review)
|
265 |
-
spaBert_embedding, current_pseudo_sentences = processSpatialEntities(
|
266 |
combined_embedding = torch.cat((bert_embedding,spaBert_embedding),dim=-1)
|
267 |
|
268 |
if(dev_mode == True):
|
|
|
262 |
if st.button("Process Review"):
|
263 |
if lower_case_review.strip():
|
264 |
bert_embedding = get_bert_embedding(lower_case_review)
|
265 |
+
spaBert_embedding, current_pseudo_sentences = processSpatialEntities(selected_review,nlp)
|
266 |
combined_embedding = torch.cat((bert_embedding,spaBert_embedding),dim=-1)
|
267 |
|
268 |
if(dev_mode == True):
|