tigerlinlxt
commited on
Commit
•
c5afc23
1
Parent(s):
a232772
Update eval_pipeline.py
Browse filesChange News Outlet to outlet
- eval_pipeline.py +1 -1
eval_pipeline.py
CHANGED
@@ -24,7 +24,7 @@ def preprocess_data(df):
|
|
24 |
try:
|
25 |
processed_data = []
|
26 |
for _, row in df.iterrows():
|
27 |
-
outlet = row["
|
28 |
if outlet == "FOX NEWS":
|
29 |
outlet = "FOXNEWS"
|
30 |
elif outlet == "NBC NEWS":
|
|
|
24 |
try:
|
25 |
processed_data = []
|
26 |
for _, row in df.iterrows():
|
27 |
+
outlet = row["outlet"].strip().upper()
|
28 |
if outlet == "FOX NEWS":
|
29 |
outlet = "FOXNEWS"
|
30 |
elif outlet == "NBC NEWS":
|