Spaces:
Sleeping
Sleeping
JasonTPhillipsJr
commited on
Commit
•
0b2a308
1
Parent(s):
363b30b
Update app.py
Browse files
app.py
CHANGED
@@ -259,6 +259,16 @@ selected_review = example_reviews[selected_key]
|
|
259 |
lower_case_review = selected_review.lower()
|
260 |
|
261 |
#Optional textbox for interactivity
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
user_input_review = st.text_area("Or type your own review here","")
|
263 |
|
264 |
review_to_process = user_input_review if user_input_review.strip() else selected_review
|
|
|
259 |
lower_case_review = selected_review.lower()
|
260 |
|
261 |
#Optional textbox for interactivity
|
262 |
+
california_entities = [
|
263 |
+
"Los Angeles", "San Francisco", "San Diego", "Yosemite National Park",
|
264 |
+
"Lake Tahoe", "Napa Valley", "Big Sur", "Death Valley", "Monterey Bay",
|
265 |
+
"Joshua Tree National Park", "Santa Monica", "Mammoth Lakes", "Palm Springs",
|
266 |
+
"Sequoia National Park", "Redwood National Park", "San Jose", "Anaheim",
|
267 |
+
"Berkeley", "Fresno", "Glendale", "Laguna Beach", "Pasadena",
|
268 |
+
"Santa Cruz", "Ojai", "Malibu"
|
269 |
+
]
|
270 |
+
# Display a message box
|
271 |
+
st.info(f"Please include one of the following entities in your review: {', '.join(california_entities)}")
|
272 |
user_input_review = st.text_area("Or type your own review here","")
|
273 |
|
274 |
review_to_process = user_input_review if user_input_review.strip() else selected_review
|