JasonTPhillipsJr commited on
Commit
dbbbac5
·
verified ·
1 Parent(s): 7edc5b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ from torch.utils.data import DataLoader
13
  from PIL import Image
14
 
15
  device = torch.device('cpu')
16
- dev_mode = True
17
 
18
 
19
  #Spacy Initialization Section
@@ -219,7 +219,7 @@ def load_reviews_from_file(file_path):
219
 
220
 
221
  #Demo Section
222
- st.title("SpaGAN Demo: IN PROGRESS")
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.")
 
13
  from PIL import Image
14
 
15
  device = torch.device('cpu')
16
+ dev_mode = False
17
 
18
 
19
  #Spacy Initialization Section
 
219
 
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.")