Spaces:
Sleeping
Sleeping
JasonTPhillipsJr
commited on
Commit
•
5fb8341
1
Parent(s):
b81fd11
Update app.py
Browse files
app.py
CHANGED
@@ -229,6 +229,9 @@ if st.button("Highlight Geo-Entities"):
|
|
229 |
combined_embedding = torch.cat((bert_embedding,spaBert_embedding),dim=-1)
|
230 |
st.write("Concatenated Embedding Shape:", combined_embedding.shape)
|
231 |
st.write("Concatenated Embedding:", combined_embedding)
|
|
|
|
|
|
|
232 |
|
233 |
# Process the text using spaCy
|
234 |
doc = nlp(selected_review)
|
|
|
229 |
combined_embedding = torch.cat((bert_embedding,spaBert_embedding),dim=-1)
|
230 |
st.write("Concatenated Embedding Shape:", combined_embedding.shape)
|
231 |
st.write("Concatenated Embedding:", combined_embedding)
|
232 |
+
|
233 |
+
prediction = discriminator(combined_embedding)
|
234 |
+
st.write("Prediction:", prediction)
|
235 |
|
236 |
# Process the text using spaCy
|
237 |
doc = nlp(selected_review)
|