Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ with st.sidebar:
|
|
58 |
|
59 |
|
60 |
**File Handling and Errors**
|
61 |
-
For any errors or inquiries, please contact us at [email protected]
|
62 |
|
63 |
|
64 |
|
@@ -99,7 +99,7 @@ def scrape_google_reviews(url):
|
|
99 |
current_review_count = 0
|
100 |
while scroll_and_check_for_new_reviews(driver, current_review_count):
|
101 |
current_review_count = len(driver.find_elements(By.CSS_SELECTOR, 'div.jftiEf'))
|
102 |
-
|
103 |
|
104 |
|
105 |
|
@@ -169,7 +169,7 @@ def scrape_google_reviews(url):
|
|
169 |
|
170 |
|
171 |
|
172 |
-
fig2 = px.bar(result, x='
|
173 |
hover_data=['rating', 'review_date'], color='rating',
|
174 |
labels={'Sentiment':'Sentiment'}, height=400)
|
175 |
|
|
|
58 |
|
59 |
|
60 |
**File Handling and Errors**
|
61 |
+
The pie and bar charts are based only on reviews containing text. For any errors or inquiries, please contact us at [email protected]
|
62 |
|
63 |
|
64 |
|
|
|
99 |
current_review_count = 0
|
100 |
while scroll_and_check_for_new_reviews(driver, current_review_count):
|
101 |
current_review_count = len(driver.find_elements(By.CSS_SELECTOR, 'div.jftiEf'))
|
102 |
+
|
103 |
|
104 |
|
105 |
|
|
|
169 |
|
170 |
|
171 |
|
172 |
+
fig2 = px.bar(result, x='review_date', y='Sentiment',
|
173 |
hover_data=['rating', 'review_date'], color='rating',
|
174 |
labels={'Sentiment':'Sentiment'}, height=400)
|
175 |
|