LeonceNsh commited on
Commit
28a0bbc
·
verified ·
1 Parent(s): f84a106

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +66 -10
app.py CHANGED
@@ -62,17 +62,73 @@ with gr.Blocks() as app:
62
  # Add a manual entry table with columns: Name, Address, Phone Number
63
  gr.Markdown("### Auto Repair/Parts in Tennessee")
64
 
65
- # Define the manual entry table with default values or leave empty for user input
66
  manual_table = gr.Dataframe(
67
- headers=["Name", "Address", "Phone Number"], # Column names
68
- datatype=["str", "str", "str"], # Data types for each column
69
- value=[
70
- ["Audi of Nashville", "1576 Mallory Ln, Brentwood, TN", "(615) 661-5006"],
71
- ["Autozone", "71210 8th Ave N, TN", "(615) 255-0075"],
72
- ["Autozone", "3912 Charlotte Pike, Nashville, TN 37209", "(555) 234-5678"],
73
- ["Autozone", "202 Oak Rd, Johnson City, TN", "(555) 345-6789"]
74
- ], # Default values for rows, this can be left empty if you want users to fill manually
75
- row_count=5 # Number of rows in the table
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  )
77
 
78
  gr.Markdown("Source: Yellowbook")
 
62
  # Add a manual entry table with columns: Name, Address, Phone Number
63
  gr.Markdown("### Auto Repair/Parts in Tennessee")
64
 
 
65
  manual_table = gr.Dataframe(
66
+ headers=["Location Name", "Street Address", "City", "State", "Postal Code", "Brands"], # Column names
67
+ datatype=["str", "str", "str", "str", "str", "str"], # Data types for each column
68
+ value=[
69
+ ["AutoZone", "257 Wears Valley Rd", "Pigeon Forge", "TN", "37863", "AutoZone"],
70
+ ["Sterling Auto", "2064 Wilma Rudolph Blvd", "Clarksville", "TN", "37040", "Sterling Auto"],
71
+ ["Advance Auto Parts", "2124 N Highland Ave", "Jackson", "TN", "38305", "Advance Auto Parts"],
72
+ ["FRIENDSHIP HYUNDAI OF BRISTOL", "1841 Volunteer Pkwy", "Bristol", "TN", "37620", "Hyundai Motor, Genesis Auto"],
73
+ ["Advance Auto Parts", "45 Main St", "Savannah", "TN", "38372", "Advance Auto Parts"],
74
+ ["O'Reilly Auto Parts", "493 Craighead St", "Nashville", "TN", "37204", "O'Reilly Auto Parts"],
75
+ ["O'Reilly Auto Parts", "864 Highway 51 N", "Covington", "TN", "38019", "O'Reilly Auto Parts"],
76
+ ["NAPA Auto Parts", "711 Murfreesboro Pike", "Nashville", "TN", "37210", "NAPA Auto Parts"],
77
+ ["Goodyear Auto Service Centers", "5407 Highway 153", "Hixson", "TN", "37343", "Goodyear Auto Service Centers"],
78
+ ["NAPA Auto Parts", "100 Center St", "Johnson City", "TN", "37615", "NAPA Auto Parts"],
79
+ ["O'Reilly Auto Parts", "217 W Market St", "Bolivar", "TN", "38008", "O'Reilly Auto Parts"],
80
+ ["NAPA Auto Parts", "412 W Lytle St", "Murfreesboro", "TN", "37130", "NAPA Auto Parts"],
81
+ ["O'Reilly Auto Parts", "3701 Lamar Ave", "Memphis", "TN", "38118", "O'Reilly Auto Parts"],
82
+ ["O'Reilly Auto Parts", "410 Highway 64 E", "Waynesboro", "TN", "38485", "O'Reilly Auto Parts"],
83
+ ["NAPA Auto Parts", "115 Broad St", "Elizabethton", "TN", "37643", "NAPA Auto Parts"],
84
+ ["AutoNation Honda Knoxville", "10117 Parkside Dr", "Knoxville", "TN", "37922", "AutoNation, Honda"],
85
+ ["AutoNation GMC Mendenhall", "2515 Mount Moriah Rd", "Memphis", "TN", "38115", "AutoNation, GMC, Ford Motor Company"],
86
+ ["AutoZone", "305 Highway 46 S", "Dickson", "TN", "37055", "AutoZone"],
87
+ ["Advance Auto Parts", "1410 Decatur Pike", "Athens", "TN", "37303", "Advance Auto Parts"],
88
+ ["NAPA Auto Parts", "7881 US Highway 51 N", "Millington", "TN", "38053", "NAPA Auto Parts"],
89
+ ["Advance Auto Parts", "1752 S Highland Ave", "Jackson", "TN", "38301", "Advance Auto Parts"],
90
+ ["Advance Auto Parts", "505 Parkway", "Sevierville", "TN", "37862", "Advance Auto Parts"],
91
+ ["AutoZone", "323 N Cumberland St Ste B", "Lebanon", "TN", "37087", "AutoZone"],
92
+ ["Advance Auto Parts", "1111 Huntsville Hwy", "Fayetteville", "TN", "37334", "Advance Auto Parts"],
93
+ ["O'Reilly Auto Parts", "950 E 10th St", "Cookeville", "TN", "38501", "O'Reilly Auto Parts"],
94
+ ["NAPA Auto Parts", "3505 Ridgeway Rd", "Memphis", "TN", "38115", "NAPA Auto Parts"],
95
+ ["Firestone Complete Auto Care", "5808 Charlotte Pike", "Nashville", "TN", "37209", "Firestone Complete Auto Care"],
96
+ ["O'Reilly Auto Parts", "915 N Cherry St", "Knoxville", "TN", "37917", "O'Reilly Auto Parts"],
97
+ ["Advance Auto Parts", "1121 E Stone Dr", "Kingsport", "TN", "37660", "Advance Auto Parts"],
98
+ ["AutoZone", "106 James Richardson Ln", "Rogersville", "TN", "37857", "AutoZone"],
99
+ ["AutoZone", "910 Highway 51 N", "Covington", "TN", "38019", "AutoZone"],
100
+ ["Firestone Complete Auto Care", "401 W Center St", "Kingsport", "TN", "37660", "Firestone Complete Auto Care"],
101
+ ["O'Reilly Auto Parts", "7051 Kingston Pike", "Knoxville", "TN", "37919", "O'Reilly Auto Parts"],
102
+ ["O'Reilly Auto Parts", "139 S Horton Pkwy", "Chapel Hill", "TN", "37034", "O'Reilly Auto Parts"],
103
+ ["AutoZone", "1011 D Water St", "Savannah", "TN", "38372", "AutoZone"],
104
+ ["AutoZone", "327 N Main St", "Goodlettsville", "TN", "37072", "AutoZone"],
105
+ ["NAPA Auto Parts", "5079 Raleigh Lagrange Rd", "Memphis", "TN", "38134", "NAPA Auto Parts"],
106
+ ["Firestone Complete Auto Care", "4035 Austin Peay Hwy", "Memphis", "TN", "38128", "Firestone Complete Auto Care"],
107
+ ["NAPA Auto Parts", "1425 Old Rives Rd", "Union City", "TN", "38261", "NAPA Auto Parts"],
108
+ ["CARQUEST Auto Parts", "217 W Church St", "Lexington", "TN", "38351", "CARQUEST Auto Parts"],
109
+ ["Advance Auto Parts", "720 Madison St", "Shelbyville", "TN", "37160", "Advance Auto Parts"],
110
+ ["O'Reilly Auto Parts", "575 Carthage Byp", "Carthage", "TN", "37030", "O'Reilly Auto Parts"],
111
+ ["CARQUEST Auto Parts", "427 Old Lantana Rd", "Crossville", "TN", "38555", "CARQUEST Auto Parts"],
112
+ ["Firestone Complete Auto Care", "3507 Poplar Ave", "Memphis", "TN", "38111", "Firestone Complete Auto Care"],
113
+ ["Advance Auto Parts", "1817 Madison St", "Clarksville", "TN", "37043", "Advance Auto Parts"],
114
+ ["O'Reilly Auto Parts", "2085 E Andrew Johnson Hwy", "Greeneville", "TN", "37745", "O'Reilly Auto Parts"],
115
+ ["NAPA Auto Parts", "321 W Market St", "Bolivar", "TN", "38008", "NAPA Auto Parts"],
116
+ ["O'Reilly Auto Parts", "1445 Murfreesboro Rd", "Franklin", "TN", "37067", "O'Reilly Auto Parts"],
117
+ ["NAPA Auto Parts", "1072 Highway 79", "Dover", "TN", "37058", "NAPA Auto Parts"],
118
+ ["Advance Auto Parts", "5540 Highway 153", "Hixson", "TN", "37343", "Advance Auto Parts"],
119
+ ["AutoZone", "4645 Main St", "Jasper", "TN", "37347", "AutoZone"],
120
+ ["Firestone Complete Auto Care", "339 N Cedar Bluff Rd", "Knoxville", "TN", "37923", "Firestone Complete Auto Care"],
121
+ ["O'Reilly Auto Parts", "2300 Carmack Blvd", "Columbia", "TN", "38401", "O'Reilly Auto Parts"],
122
+ ["NAPA Auto Parts", "1380 Maley Hollow Rd", "Dayton", "TN", "37321", "NAPA Auto Parts"],
123
+ ["Advance Auto Parts", "1250 Fort Campbell Blvd", "Clarksville", "TN", "37042", "Advance Auto Parts"],
124
+ ["AutoZone", "3343 Winchester Rd", "Memphis", "TN", "38118", "AutoZone"],
125
+ ["Firestone Complete Auto Care", "901 N Germantown Pkwy", "Cordova", "TN", "38018", "Firestone Complete Auto Care"],
126
+ ["O'Reilly Auto Parts", "626 N Charles Seivers Bvd", "Clinton", "TN", "37716", "O'Reilly Auto Parts"],
127
+ ["O'Reilly Auto Parts", "904 Highway 70 E", "Dickson", "TN", "37055", "O'Reilly Auto Parts"],
128
+ ["NAPA Auto Parts", "714 Lafayette Rd", "Red Boiling Springs", "TN", "37150", "NAPA Auto Parts"],
129
+ ["NAPA Auto Parts", "680 W Bockman Way", "Sparta", "TN", "38583", "NAPA Auto Parts"]
130
+ ], # All rows from the provided table
131
+ row_count=60 # Total number of rows
132
  )
133
 
134
  gr.Markdown("Source: Yellowbook")