Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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
|
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.")
|