Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ sentiment_model = pipeline(model="ashok2216/gpt2-amazon-sentiment-classifier")
|
|
| 15 |
sample_url = 'https://www.amazon.in/Dell-Inspiron-i7-1255U-Processor-Platinum/product-reviews/B0C9F142V6/ref=cm_cr_dp_d_show_all_btm?ie=UTF8&reviewerType=all_reviews'
|
| 16 |
url = st.text_input("Amazon product link", sample_url)
|
| 17 |
st.write("Done")
|
| 18 |
-
|
| 19 |
all_reviews = scrape_all_pages(url)
|
| 20 |
# Convert to DataFrame for further analysis
|
| 21 |
reviews = pd.DataFrame(all_reviews)
|
|
|
|
| 15 |
sample_url = 'https://www.amazon.in/Dell-Inspiron-i7-1255U-Processor-Platinum/product-reviews/B0C9F142V6/ref=cm_cr_dp_d_show_all_btm?ie=UTF8&reviewerType=all_reviews'
|
| 16 |
url = st.text_input("Amazon product link", sample_url)
|
| 17 |
st.write("Done")
|
| 18 |
+
st.subheader('', divider='rainbow')
|
| 19 |
all_reviews = scrape_all_pages(url)
|
| 20 |
# Convert to DataFrame for further analysis
|
| 21 |
reviews = pd.DataFrame(all_reviews)
|