Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -161,8 +161,8 @@ if st.button("Highlight Geo-Entities"):
|
|
161 |
|
162 |
#combine the embeddings (NOTE: come back and update after testing)
|
163 |
combined_embedding = torch.cat((bert_embedding,all_embeddings[0]),dim=-1)
|
164 |
-
st.write("Concatenated Embedding Shape:",
|
165 |
-
st.write("Concatenated Embedding:",
|
166 |
|
167 |
# Process the text using spaCy
|
168 |
doc = nlp(selected_review)
|
|
|
161 |
|
162 |
#combine the embeddings (NOTE: come back and update after testing)
|
163 |
combined_embedding = torch.cat((bert_embedding,all_embeddings[0]),dim=-1)
|
164 |
+
st.write("Concatenated Embedding Shape:", combined_embedding.shape)
|
165 |
+
st.write("Concatenated Embedding:", combined_embedding)
|
166 |
|
167 |
# Process the text using spaCy
|
168 |
doc = nlp(selected_review)
|