SaiPraveena04 commited on
Commit
832b466
Β·
verified Β·
1 Parent(s): c2cd4f9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -71
README.md CHANGED
@@ -1,75 +1,14 @@
1
- # AP Smart Route Finder β€” Gradio Edition
2
-
3
- A clean, single-file route planner for Andhra Pradesh cities with:
4
- - βœ… Dropdown city selector (70+ AP cities)
5
- - βœ… All paths found and listed (sorted shortest to longest)
6
- - βœ… Shortest path highlighted on real OpenStreetMap
7
- - βœ… Click city markers on map for Malls, Restaurants, Petrol Bunks, Landmarks
8
- - βœ… Stats bar (total km, number of paths, hops)
9
- - βœ… Simple Gradio UI β€” no Streamlit needed
10
-
11
- ---
12
-
13
- ## πŸš€ Setup (3 steps)
14
-
15
- ```bash
16
- # 1. Install dependencies
17
- pip install gradio networkx numpy folium
18
-
19
- # 2. Run
20
- python app_gradio.py
21
-
22
- # 3. Open browser
23
- # β†’ http://localhost:7860
24
- ```
25
-
26
- ---
27
-
28
- ## How to Use
29
-
30
- 1. **Select Starting City** from the dropdown (e.g. Vijayawada)
31
- 2. **Select Destination City** (e.g. Visakhapatnam)
32
- 3. Click **πŸ” Find Best Route**
33
-
34
- ### What you'll see:
35
- | Section | Description |
36
- |---|---|
37
- | **Stats Bar** | Total km, paths found, hops, nearby cities |
38
- | **Map** | Real OSM map β€” orange line = shortest, blue dashes = alternates |
39
- | **Route Details** | Step-by-step breakdown with distances |
40
- | **All Paths** | Every route found, sorted by distance |
41
- | **POI Panels** | Petrol bunks, malls, restaurants, landmarks for source & destination |
42
-
43
- ### Map Popups
44
- Click any πŸ“ marker on the map to see:
45
- - β›½ Petrol Bunks near that city
46
- - 🏬 Malls & Shopping
47
- - 🍽️ Restaurants
48
- - πŸ›οΈ Landmarks
49
-
50
  ---
51
-
52
- ## File Structure
53
-
54
- ```
55
- app_gradio.py ← Single file β€” everything is here
56
- requirements.txt ← pip install -r requirements.txt
57
- ```
58
-
59
  ---
60
 
61
- ## Algorithm
62
- The app uses two complementary algorithms internally and picks the best confirmed result:
63
- - **Dijkstra** β€” guaranteed optimal, O(E + V log V)
64
- - **Grover Amplitude Amplification** β€” quantum-inspired search, O(√N)
65
-
66
- The result shown is always the shortest confirmed path β€” no algorithm labels shown to the user.
67
 
68
- ## Cities Covered
69
- 70+ cities including all district HQs, major towns across:
70
- - North Andhra: Visakhapatnam, Srikakulam, Vizianagaram
71
- - Godavari: Rajahmundry, Kakinada, Eluru, Bhimavaram
72
- - Krishna: Vijayawada, Machilipatnam, Gudivada
73
- - Guntur: Guntur, Tenali, Narasaraopet
74
- - South Coastal: Nellore, Ongole, Kavali
75
- - Rayalaseema: Kurnool, Kadapa, Anantapur, Chittoor, Tirupati
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: RouteNavigator
3
+ emoji: πŸš€
4
+ colorFrom: blue
5
+ colorTo: green
6
+ sdk: gradio
7
+ sdk_version: "4.0.0"
8
+ app_file: app.py
9
+ pinned: false
10
  ---
11
 
12
+ # RouteNavigator
 
 
 
 
 
13
 
14
+ AI-powered routing and path finding application using Gradio.