Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -110,6 +110,176 @@ knowledge_base = {
|
|
110 |
"BW": "Business Warehouse",
|
111 |
"BWAP": "Below Weighted Average Price",
|
112 |
"BY": "Burley",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
}
|
114 |
|
115 |
# Define the Gradio interface function
|
|
|
110 |
"BW": "Business Warehouse",
|
111 |
"BWAP": "Below Weighted Average Price",
|
112 |
"BY": "Burley",
|
113 |
+
"C&PCR": "Complexity & Product Cost Reduction",
|
114 |
+
"CAB": "Change Advisory Board",
|
115 |
+
"CAB1, CAB2 and CAB3": "Types of changes in Information systems and applications",
|
116 |
+
"CAGR": "Compound Annual Growth Rate",
|
117 |
+
"CAM": "Central America",
|
118 |
+
"CAP": "Customer Account Profitability",
|
119 |
+
"CAPEX": "Capital Expenditure",
|
120 |
+
"CAR": "Caribbean",
|
121 |
+
"CARICOM": "Caribbean Community Regional Integration",
|
122 |
+
"CBA": "Cost Benefit Analysis",
|
123 |
+
"CCC": "Common Communication Code",
|
124 |
+
"CCT": "Cut Tobacco at brought in cost",
|
125 |
+
"CDF": "Consumer Disposition Funnel",
|
126 |
+
"CDM": "Career Development Meeting",
|
127 |
+
"CEA": "Cost Element Accounting",
|
128 |
+
"CES": "Competitive Edge Series",
|
129 |
+
"CI": "Continual Improvement",
|
130 |
+
"CIGMAR": "Cigarrette Market (Group Marketing Information System)",
|
131 |
+
"CKB": "Competitor Knowledge Base",
|
132 |
+
"CLD": "Cased Leaf Drier (Tobacco process)",
|
133 |
+
"CM": "Country Manager",
|
134 |
+
"CMB": "Centrally Managed Brands",
|
135 |
+
"COC": "Cigarette overhead conveyor",
|
136 |
+
"CofE": "Centre of Expertise",
|
137 |
+
"COL": "Cost of Living",
|
138 |
+
"COMIECO": "Council of Ministers for Economic Integration",
|
139 |
+
"CoO": "Cost Of Ownership / Country Of Origin",
|
140 |
+
"COP": "Conference of the Parties",
|
141 |
+
"CoPlan": "Company Plan",
|
142 |
+
"CORESTA": "Co-operation Centre for Scientific Research Relative to Tabacco",
|
143 |
+
"CP": "Cigarette Paper",
|
144 |
+
"CPC": "Common Planning Calendar",
|
145 |
+
"CPI": "Consumer Price Index / Cuts per inch (30 cpi for lamina, 120-160 cpi for stem)",
|
146 |
+
"CPM": "Cigarettes Per Minute",
|
147 |
+
"CPMH": "Cigarettes Per Man Hour",
|
148 |
+
"CPQE": "Cigarette Physical Quality Evaluation",
|
149 |
+
"CPT": "Consumer Product Testing",
|
150 |
+
"CPTO": "Consumer Price Turn Over",
|
151 |
+
"CQMS": "Corporate Quality Management System",
|
152 |
+
"CR": "Comp. Ratio",
|
153 |
+
"CRM": "Customer Relationship Management",
|
154 |
+
"CROSQ": "CARICOM Regional Organisation for Standards & Quality",
|
155 |
+
"CRS": "Cut Rolled Stem",
|
156 |
+
"CRT": "Cut Rag Tobacco",
|
157 |
+
"CS": "Cut stem",
|
158 |
+
"CSI": "Consumer Satisfaction Index / Corporate Social Investment",
|
159 |
+
"CSR": "Corporate Social Responsibility",
|
160 |
+
"CST": "Cluster Strategy Team",
|
161 |
+
"CTA": "Contribution to Admin",
|
162 |
+
"CTS": "Cut Tobacco Store",
|
163 |
+
"D&D": "Design & Destroyed",
|
164 |
+
"D&S": "Design & Specify",
|
165 |
+
"DAC": "Daily Average Consumption / Dark air cured",
|
166 |
+
"DB": "Defined Benefit / Display Ban",
|
167 |
+
"DC": "Defined Contribution",
|
168 |
+
"DCC": "Direct Cylinder Conditioning / Direct Cylinder Conditioning and Casing",
|
169 |
+
"DES": "Distribution Edge Series",
|
170 |
+
"DG5": "Deployment Group 5",
|
171 |
+
"DIET": "Dry Ice Expanded Tobacco",
|
172 |
+
"DM": "Data Management",
|
173 |
+
"DNP": "Duty Not Paid",
|
174 |
+
"DO": "Distribution Outlets",
|
175 |
+
"DOM": "Demand Operations Manager",
|
176 |
+
"DP": "Duty Paid",
|
177 |
+
"DRBU": "Direct Reporting Business Unit",
|
178 |
+
"DRF": "Dust Recovery Fans",
|
179 |
+
"DRG": "Design Reference Group",
|
180 |
+
"DRP": "Disaster Recovery Programme / Distribution Resource Planning",
|
181 |
+
"DSA": "Daily Sales Average",
|
182 |
+
"DSD": "Direct to Store Delivery",
|
183 |
+
"DSS": "Direct Store Sales",
|
184 |
+
"DTI": "Department of Trade and Industry",
|
185 |
+
"DTI": "Duty Transit Insurance",
|
186 |
+
"DTR": "Double Tax Relief",
|
187 |
+
"DTV": "Digital Tax Verification",
|
188 |
+
"DX": "Distribution Excellence",
|
189 |
+
"E2E": "End to end",
|
190 |
+
"EAI": "Enterprise Applications Integration",
|
191 |
+
"EAM": "Effective Area Management",
|
192 |
+
"EAS": "Enterprise Applications Strategy",
|
193 |
+
"ECLT": "Foundation Eliminating Child Labour in Tobacco Growing Foundation",
|
194 |
+
"EDI": "Electronic Data Interchange",
|
195 |
+
"EDM": "Executive Directors' Meeting",
|
196 |
+
"EEC": "European Employee Council",
|
197 |
+
"EFM": "Export Finance Manager",
|
198 |
+
"EH&S": "Environmental, Health & Safety",
|
199 |
+
"EM": "End Market / Environment Management",
|
200 |
+
"EMF2": "Effective Market Focus",
|
201 |
+
"EMSP": "End Market Strategic Plan",
|
202 |
+
"ENDS": "Electronic nicotine delivery systems",
|
203 |
+
"ENNDS": "Electronic non-nicotine delivery systems",
|
204 |
+
"EOS": "Exchange Of Sale",
|
205 |
+
"EP": "Electrostatic Perforation",
|
206 |
+
"EPIC": "Enhanced Productivity in the Cloud",
|
207 |
+
"EPO": "Enterprise Programme Office",
|
208 |
+
"EPR": "Effective Problem Resolution",
|
209 |
+
"ERP": "Enterprise Resource Planning",
|
210 |
+
"ET": "Expanded Tobacco",
|
211 |
+
"ETS": "Environmental Tobacco Smoke",
|
212 |
+
"EUCA": "European Union Co-operation Agreement",
|
213 |
+
"EVP": "Employee Value Proposition",
|
214 |
+
"Expat": "Expatriate",
|
215 |
+
"FC": "Forecast",
|
216 |
+
"FCS": "Financial Control System",
|
217 |
+
"FCTC": "Framework Convention for Tobacco Control",
|
218 |
+
"FCV": "Flue Cured Virginia",
|
219 |
+
"FD": "Finance Director",
|
220 |
+
"FEP": "Finance Excellence Programme",
|
221 |
+
"FF": "Full Flavour",
|
222 |
+
"FFP": "Factory Foot Print / Fit for Purpose",
|
223 |
+
"FG": "Finished Goods",
|
224 |
+
"FGS": "Finished Goods Sales",
|
225 |
+
"FIFO": "First In First Out",
|
226 |
+
"FMC": "Factory Made Cigarettes",
|
227 |
+
"FMCG": "Fast Moving Consumer Goods",
|
228 |
+
"FOQ": "Fixed Order Quantity",
|
229 |
+
"Foresight": "Sales forecasting and supply chain system",
|
230 |
+
"FOT's": "French Overseas Territories",
|
231 |
+
"FP": "Filling Power",
|
232 |
+
"FPI": "Finished Product Inspection",
|
233 |
+
"FTA": "Filter Tipo Attacher / Free Trade Agreement",
|
234 |
+
"FTE": "Full Time Equivalent",
|
235 |
+
"FTZ": "Free Trade Zone",
|
236 |
+
"FV": "Fill Value",
|
237 |
+
"FY": "Full Year",
|
238 |
+
"FYR": "Full Year Results",
|
239 |
+
"GAAP": "Generally Accepted Accounting Principles",
|
240 |
+
"GAM": "Group Accounting Manual",
|
241 |
+
"GBP": "Great Britain Pounds",
|
242 |
+
"GDB": "Global Drive Brands",
|
243 |
+
"GDP": "Gross Domestic Product",
|
244 |
+
"GH": "Globe House (The British American Tobacco headquarters)",
|
245 |
+
"GHS": "Globally Harmonised System",
|
246 |
+
"GHW": "Graphic Health Warning",
|
247 |
+
"GIP": "Global Integration Programme",
|
248 |
+
"GIPS": "Group Intellectual Property Service",
|
249 |
+
"GIT": "Goods in Transit",
|
250 |
+
"GIV": "Gross Domestic Product",
|
251 |
+
"GLOSS": "Global Leaf Order Supply System",
|
252 |
+
"GLP": "Global Leaf Pool / Global Leaf Processing",
|
253 |
+
"GLT": "Green Leaf Threshing",
|
254 |
+
"GM": "General Manager",
|
255 |
+
"GMAPP": "Group Manual of Accounting Policies and Procedures",
|
256 |
+
"GOM": "Global Operating Model",
|
257 |
+
"GP": "Guiding Principles",
|
258 |
+
"GPC": "Group Product Champion",
|
259 |
+
"GPMO": "Global Programme Management Office",
|
260 |
+
"GPS": "Global Process Standards / Global Product Specification",
|
261 |
+
"GPtW": "Great Place to Work",
|
262 |
+
"GQT": "Group Quality Team",
|
263 |
+
"GR&D": "Group Research & Development",
|
264 |
+
"GRE": "Global Retail Excellence",
|
265 |
+
"GRP": "Gross Rating Points",
|
266 |
+
"GSC": "Global Standards Council / Global Supply Chain",
|
267 |
+
"GSCS": "Global Supply Chain Strategy",
|
268 |
+
"GSCSC": "Global Supply Chain Service Centre",
|
269 |
+
"GSD": "Group Service Delivery",
|
270 |
+
"GSI": "General Standing Instructions",
|
271 |
+
"GSM": "Global Specification Management / Grams per square metre",
|
272 |
+
"GSMP": "Global Service Management Project",
|
273 |
+
"GSP": "Global Specification Platform / Global Strategy Process",
|
274 |
+
"GSS": "Global Specification Services",
|
275 |
+
"GTO": "Gross Turnover",
|
276 |
+
"GTR": "Global Travel and Retail",
|
277 |
+
"GUI": "Graphical User Interface",
|
278 |
+
"GWD": "Gross Weighted Distribution",
|
279 |
+
|
280 |
+
}
|
281 |
+
|
282 |
+
|
283 |
}
|
284 |
|
285 |
# Define the Gradio interface function
|