Rajesh0279 commited on
Commit
74a767d
Β·
verified Β·
1 Parent(s): 346727a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -14
README.md CHANGED
@@ -1,19 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
- title: Car Info
3
- emoji: πŸš€
4
- colorFrom: red
5
- colorTo: red
6
- sdk: docker
7
- app_port: 8501
8
- tags:
9
- - streamlit
10
- pinned: false
11
- short_description: It gives car related information from Wikipedia
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
 
 
 
13
 
14
- # Welcome to Streamlit!
15
 
16
- Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
 
 
 
17
 
18
- If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
19
- forums](https://discuss.streamlit.io).
 
1
+ # πŸš— Car Info Finder & Version Comparator
2
+
3
+ This Streamlit-based project allows users to search for car information using the Wikipedia API and compare different versions or models of cars if disambiguation is detected. It includes two modules: a main search and comparison interface (`SearchPage.py`) and a dedicated comparison view (`campare.py`).
4
+
5
+ ---
6
+ ## πŸ“¦ Features
7
+ ### πŸ” Car Info Finder (`SearchPage.py`)
8
+ - Search cars by name using the Wikipedia API.
9
+ - Automatically filters out non-automobile-related results.
10
+ - Supports **three categories**: Vintage, Classic, and Trending.
11
+ - Maintains a **search history** for quick access.
12
+ - Includes a **Compare Mode** for viewing multiple car models side-by-side.
13
+ - Handles Wikipedia disambiguation by sorting versions using extracted years.
14
+ - Displays car summaries, images, and links to full Wikipedia articles.
15
+
16
+ ### πŸ“Š Version Comparator (`campare.py`)
17
+ - Displays multiple car models if the selected name has a disambiguation page.
18
+ - Allows users to select and compare specific versions in parallel.
19
+ - Uses session state to persist disambiguation options across navigation.
20
+ - Shows detailed Wikipedia summaries with images and links.
21
+
22
  ---
23
+
24
+ ## πŸš€ How to Run
25
+
26
+ 1. **Clone this repository** or copy both files to your local directory.
27
+ 2. Make sure you have Python and the required libraries:
28
+ ```bash
29
+ pip install streamlit wikipedia
30
+
31
+ ----
32
+
33
+ ## # Link
34
+ Link: https://huggingface.co/spaces/tsairohith/car_info_finder
35
+
36
+
37
+ -----
38
+
39
+ ## 🧠 How It Works
40
+
41
+ 1. Uses the wikipedia Python package to fetch summaries and images.
42
+
43
+ 2. Filters non-car-related content using automotive keywords.
44
+
45
+ 3. Handles ambiguous results (e.g., "Ford Mustang" with many models) via a secondary comparison tool.
46
+
47
+ 4. Session state ensures seamless switching between search and compare modes.
48
+ ---
49
+ ## πŸ› οΈ To-Do (Optional Enhancements)
50
+
51
+ 1. Add sentiment analysis or specs comparison.
52
+
53
+ 2. Cache Wikipedia API responses for performance.
54
+
55
+ 3. Expand to other vehicle types (bikes, trucks, etc.).
56
+
57
+ 4. Include user ratings or historical sales data.
58
  ---
59
+ ## πŸ§‘β€πŸ’» Author
60
+
61
+ Built with ❀️ using Streamlit and Wikipedia by [Team 43].
62
 
63
+ **Team Members**
64
 
65
+ 1. Rajesh Parikapalli
66
+ 2. T.Sai Rohith
67
+ 3. K.Sharath Chandra
68
+ 4. Nihal Shariff
69