shukdevdatta123 commited on
Commit
94b4b03
·
verified ·
1 Parent(s): 4b581f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +41 -11
app.py CHANGED
@@ -18,18 +18,48 @@ else:
18
  # Instruction sidebar
19
  st.sidebar.title("Instructions")
20
  st.sidebar.write("""
21
- **Welcome to the Dhaka Metro Rail Fare Checker!**
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
- *How to use:*
24
- 1. Select your **Location station** from the dropdown menu.
25
- 2. Select your **destination(s)** by clicking the destination buttons.
26
- 3. The fare from your location to the selected destination(s) will be displayed below.
27
- 4. You can select multiple destinations to check the fares for all of them.
28
-
29
- **Note:** Please select a valid origin station first.
30
-
31
- If you face any issues or need further assistance, feel free to [Contact Support on WhatsApp](https://wa.me/+8801719296601).
32
- """)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  # Define the default "Select Journey from" message
35
  default_origin = "Select Journey from"
 
18
  # Instruction sidebar
19
  st.sidebar.title("Instructions")
20
  st.sidebar.write("""
21
+ **Welcome to the Dhaka Metro Rail Fare Checker! 🚇**
22
+
23
+ *How to use:*
24
+
25
+ 1. **Select your Location station**:
26
+ - Choose the station you are currently at from the **"Select your Location"** dropdown menu.
27
+
28
+ 2. **Select your destination(s)**:
29
+ - After selecting your origin station, you will see a list of available destination stations.
30
+ - Click on the **destination buttons** for the station(s) you wish to travel to.
31
+ - You can select multiple destinations to check fares for different routes at once.
32
+
33
+ 3. **Fare Calculation**:
34
+ - The fare from your selected origin station to each of the selected destination(s) will be displayed below in the fare details section.
35
 
36
+ 4. **Clear Destinations**:
37
+ - If you want to reset your selection of destinations, simply click the **"Clear All Destinations"** button to start fresh.
38
+
39
+ ---
40
+
41
+ **Important Notes:**
42
+
43
+ - **Origin Station**: Please make sure to select a valid origin station first. The fare options will only be displayed after a valid origin station is chosen.
44
+ - **Multiple Destinations**: You can select multiple destination stations. The fare details will be shown for each selected destination.
45
+
46
+ If you encounter any issues or need assistance, feel free to [Contact Support on WhatsApp](https://wa.me/+8801719296601).
47
+
48
+ ---
49
+
50
+ **Interactive Map**:
51
+
52
+ The interactive map of Dhaka Metro stations below allows you to visualize routes between your selected origin and destination(s). Use the map to explore stations, animate routes, and check locations on the map.
53
+
54
+ **Interactive Features**:
55
+
56
+ - **Source & Destination Dropdown**: Select your source and destination from the dropdown menus on the map.
57
+ - **Animate Route**: Click the **"Animate Route"** button to visually track the route between the selected source and destination stations.
58
+ - **Animate All Locations**: Click the **"Animate All Locations"** button to animate all stations and get a dynamic overview of the network.
59
+ - **Stop Animation**: If you want to stop the animation at any time, press the **"Stop Animation"** button.
60
+
61
+ Enjoy your journey on the Dhaka Metro! 🚉
62
+ """)
63
 
64
  # Define the default "Select Journey from" message
65
  default_origin = "Select Journey from"