Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def clean_text(text):
|
|
| 16 |
|
| 17 |
@st.cache_data
|
| 18 |
def load_data():
|
| 19 |
-
df = pd.read_csv("
|
| 20 |
df['status_date'] = pd.to_datetime(df['status_date'], format='%d-%m-%Y', errors='coerce')
|
| 21 |
df = df.dropna(subset=['status_date'])
|
| 22 |
df["llama_trend_summary"] = df["llama_trend_summary"].fillna("")
|
|
@@ -113,9 +113,9 @@ if query:
|
|
| 113 |
bill_number = row['bill_number']
|
| 114 |
full_url = row['url']
|
| 115 |
cat = row['Category & Subcategory']
|
| 116 |
-
cat_std = row['category_&
|
| 117 |
bene= row['Intended Beneficiaries']
|
| 118 |
-
bene_std= row['
|
| 119 |
goal = row['Legislative Goal']
|
| 120 |
impact = row['Policy Impact Areas']
|
| 121 |
provision = row['Key Provisions']
|
|
|
|
| 16 |
|
| 17 |
@st.cache_data
|
| 18 |
def load_data():
|
| 19 |
+
df = pd.read_csv("Illinois_Entire_Data_Insights_Final_v2_with_std2.csv")
|
| 20 |
df['status_date'] = pd.to_datetime(df['status_date'], format='%d-%m-%Y', errors='coerce')
|
| 21 |
df = df.dropna(subset=['status_date'])
|
| 22 |
df["llama_trend_summary"] = df["llama_trend_summary"].fillna("")
|
|
|
|
| 113 |
bill_number = row['bill_number']
|
| 114 |
full_url = row['url']
|
| 115 |
cat = row['Category & Subcategory']
|
| 116 |
+
cat_std = row['category_&_subcategory_standardized2']
|
| 117 |
bene= row['Intended Beneficiaries']
|
| 118 |
+
bene_std= row['intended_beneficiaries_standardized2']
|
| 119 |
goal = row['Legislative Goal']
|
| 120 |
impact = row['Policy Impact Areas']
|
| 121 |
provision = row['Key Provisions']
|