amazoncomparisontool / index.html

Commit History

Build an interactive app using either Gradio or Streamlit for Hugging Face Spaces. The app should allow users to compare at least two products based on their Amazon review analysis, using category scores for Price, Durability, Features, Usability, and Customer Service. For each product, display category scores (from 0 to 100) based on review text analysis (you can use mock data for now). Key Features: • Input Section: Let users select products to compare (use at least Product A and Product B as examples). • Priority Setting: Allow users to set their priorities for each category, either with sliders (weights summing to 100%) or a dropdown for the most important factor. • Score Calculation: Compute an overall score for each product based on the user’s selected weights/priorities. • Recommendation Output: Clearly show which product is recommended, along with an explanation based on the priorities. • Visualization: Show a comparison table and a bar or radar chart of category scores for each product. • Modular Design: Organize code so mock data can be easily replaced with real data in the future. • Bonus: Display the user’s current weights and optionally some sample review snippets for each category. Please use best practices for code structure and UI clarity, and ensure compatibility with Hugging Face Spaces deployment. - Initial Deployment
928619c
verified

apamplona2011 commited on

initial commit
b3e5b1a
verified

apamplona2011 commited on