Spaces:
Sleeping
Sleeping
JasonTPhillipsJr
commited on
Commit
•
5f6c4ef
1
Parent(s):
b6c17e6
Update app.py
Browse files
app.py
CHANGED
@@ -191,8 +191,7 @@ if st.button("Highlight Geo-Entities"):
|
|
191 |
spaBert_embedding = processSpatialEntities(selected_review,nlp)
|
192 |
st.write("Geo-Entities embedding shape: ", spaBert_embedding.shape)
|
193 |
|
194 |
-
|
195 |
-
combined_embedding = torch.cat((bert_embedding,spaBERT_embeddings[0]),dim=-1)
|
196 |
st.write("Concatenated Embedding Shape:", combined_embedding.shape)
|
197 |
st.write("Concatenated Embedding:", combined_embedding)
|
198 |
|
|
|
191 |
spaBert_embedding = processSpatialEntities(selected_review,nlp)
|
192 |
st.write("Geo-Entities embedding shape: ", spaBert_embedding.shape)
|
193 |
|
194 |
+
combined_embedding = torch.cat((bert_embedding,spaBert_embedding),dim=-1)
|
|
|
195 |
st.write("Concatenated Embedding Shape:", combined_embedding.shape)
|
196 |
st.write("Concatenated Embedding:", combined_embedding)
|
197 |
|