Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
@@ -119,14 +119,14 @@ if not comet_initialized:
|
|
119 |
st.warning("Comet ML not initialized. Check environment variables.")
|
120 |
|
121 |
# --- Label Definitions ---
|
122 |
-
labels = ["Person","Organization","Location","Date","Time","Quantity","Product","Event","Title","
|
123 |
|
124 |
# Corrected mapping dictionary
|
125 |
|
126 |
# Create a mapping dictionary for labels to categories
|
127 |
category_mapping = {
|
128 |
"Core Foundational Entities": ["Person", "Organization", "Location", "Date", "Time", "Quantity"],
|
129 |
-
"Content Enrichment Entities": ["Product", "Event", "Title", "
|
130 |
"Digital & Technical Entities": ["URL", "Website", "Hashtag", "Email_address", "IP_address", "File_path"],
|
131 |
}
|
132 |
|
|
|
119 |
st.warning("Comet ML not initialized. Check environment variables.")
|
120 |
|
121 |
# --- Label Definitions ---
|
122 |
+
labels = ["Person","Organization","Location","Date","Time","Quantity","Product","Event","Title","Job_title","Artwork","Media","URL","Website","Hashtag","Email_address","IP_address","File_path"]
|
123 |
|
124 |
# Corrected mapping dictionary
|
125 |
|
126 |
# Create a mapping dictionary for labels to categories
|
127 |
category_mapping = {
|
128 |
"Core Foundational Entities": ["Person", "Organization", "Location", "Date", "Time", "Quantity"],
|
129 |
+
"Content Enrichment Entities": ["Product", "Event", "Title", "Job_title", "Artwork", "Media"],
|
130 |
"Digital & Technical Entities": ["URL", "Website", "Hashtag", "Email_address", "IP_address", "File_path"],
|
131 |
}
|
132 |
|