Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,27 @@ dataset_path = 'sample_contract_df.parquet' # Update with your Parquet file pat
|
|
22 |
schema = [
|
23 |
{"column_name": "department_ind_agency", "column_type": "VARCHAR"},
|
24 |
{"column_name": "cgac", "column_type": "BIGINT"},
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
]
|
27 |
|
28 |
@lru_cache(maxsize=1)
|
|
|
22 |
schema = [
|
23 |
{"column_name": "department_ind_agency", "column_type": "VARCHAR"},
|
24 |
{"column_name": "cgac", "column_type": "BIGINT"},
|
25 |
+
{"column_name": "sub_tier", "column_type": "VARCHAR"},
|
26 |
+
{"column_name": "fpds_code", "column_type": "VARCHAR"},
|
27 |
+
{"column_name": "office", "column_type": "VARCHAR"},
|
28 |
+
{"column_name": "aac_code", "column_type": "VARCHAR"},
|
29 |
+
{"column_name": "posteddate", "column_type": "VARCHAR"},
|
30 |
+
{"column_name": "type", "column_type": "VARCHAR"},
|
31 |
+
{"column_name": "basetype", "column_type": "VARCHAR"},
|
32 |
+
{"column_name": "popstreetaddress", "column_type": "VARCHAR"},
|
33 |
+
{"column_name": "popcity", "column_type": "VARCHAR"},
|
34 |
+
{"column_name": "popstate", "column_type": "VARCHAR"},
|
35 |
+
{"column_name": "popzip", "column_type": "VARCHAR"},
|
36 |
+
{"column_name": "popcountry", "column_type": "VARCHAR"},
|
37 |
+
{"column_name": "active", "column_type": "VARCHAR"},
|
38 |
+
{"column_name": "awardnumber", "column_type": "VARCHAR"},
|
39 |
+
{"column_name": "awarddate", "column_type": "VARCHAR"},
|
40 |
+
{"column_name": "award", "column_type": "DOUBLE"},
|
41 |
+
{"column_name": "awardee", "column_type": "VARCHAR"},
|
42 |
+
{"column_name": "state", "column_type": "VARCHAR"},
|
43 |
+
{"column_name": "city", "column_type": "VARCHAR"},
|
44 |
+
{"column_name": "zipcode", "column_type": "VARCHAR"},
|
45 |
+
{"column_name": "countrycode", "column_type": "VARCHAR"}
|
46 |
]
|
47 |
|
48 |
@lru_cache(maxsize=1)
|