JasonTPhillipsJr commited on
Commit
27b4c27
·
verified ·
1 Parent(s): dbbbac5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -220,10 +220,10 @@ def load_reviews_from_file(file_path):
220
 
221
  #Demo Section
222
  st.title("SpaGAN Demo")
223
- st.write("This demo allows you to select from a list of sample reviews that contrain both real and fake reviews.")
224
- st.write("Once selected, the identified geo-entities within the review will be color coded and displayed along with the review.")
225
- st.write("The model will construct a pseudo-sentence for each entity within the review, contextualizing each geo-entities closest neighbors from our dataset.")
226
- st.write("Finally, the entire review will be embedded and combined with the spatial embeddings and the model will determine whether the review is real or fake.")
227
 
228
  # Define a color map and descriptions for different entity types
229
  COLOR_MAP = {
 
220
 
221
  #Demo Section
222
  st.title("SpaGAN Demo")
223
+ st.write("This demo lets you explore a curated list of sample reviews, containing a real and fake example.")
224
+ st.write("Upon selecting a review, any identified geo-entities will be color coded for easy visualization.")
225
+ st.write("For each geo-entity found, the model will generate a contextual pseudo-sentnece, highlighting its closest neighbors from our dataset.")
226
+ st.write("Finally, the entire review is embedded and enriched with spatial embeddings, enabling the model to determine whether the review is authentic or fake.")
227
 
228
  # Define a color map and descriptions for different entity types
229
  COLOR_MAP = {