JasonTPhillipsJr commited on
Commit
5f6c4ef
1 Parent(s): b6c17e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- #combine the embeddings (NOTE: come back and update after testing)
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