Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ except Exception as e:
|
|
| 80 |
esco_skill_df = pd.DataFrame() # Fallback to an empty DataFrame or handle the error appropriately
|
| 81 |
|
| 82 |
try:
|
| 83 |
-
|
| 84 |
log_debug(f"Reading {len(esco_skill_map_df)} esco_skill_map")
|
| 85 |
except Exception as e:
|
| 86 |
log_debug(f"Error reading occupationSkillRelations_en.csv: {e}")
|
|
|
|
| 80 |
esco_skill_df = pd.DataFrame() # Fallback to an empty DataFrame or handle the error appropriately
|
| 81 |
|
| 82 |
try:
|
| 83 |
+
esco_skill_map_df = pd.read_csv("occupationSkillRelations_en.csv", on_bad_lines='skip')
|
| 84 |
log_debug(f"Reading {len(esco_skill_map_df)} esco_skill_map")
|
| 85 |
except Exception as e:
|
| 86 |
log_debug(f"Error reading occupationSkillRelations_en.csv: {e}")
|