herztard commited on
Commit
697dc58
·
1 Parent(s): c7c049a

more categories

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -27,7 +27,25 @@ st.title("Tag Detection from CNN News articles")
27
  st.write("Enter a CNN News article URL.")
28
 
29
  news_url = st.text_input("CNN Article URL:", placeholder="Example: https://edition.cnn.com/2024/12/19/science/stonehenge-monument-early-farmers/index.html")
30
- categories = ["Politics", "Sports", "Weather", "Culture", "Crime"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
  if st.button("Get tags"):
33
  if news_url.strip():
 
27
  st.write("Enter a CNN News article URL.")
28
 
29
  news_url = st.text_input("CNN Article URL:", placeholder="Example: https://edition.cnn.com/2024/12/19/science/stonehenge-monument-early-farmers/index.html")
30
+ categories = [
31
+ "Politics",
32
+ "Economy",
33
+ "Sports",
34
+ "Weather",
35
+ "Health",
36
+ "Technology",
37
+ "Culture",
38
+ "Science",
39
+ "Education",
40
+ "Entertainment",
41
+ "Business",
42
+ "Environment",
43
+ "Crime",
44
+ "Travel",
45
+ "International Relations",
46
+ "Local News",
47
+ "Breaking News"
48
+ ]
49
 
50
  if st.button("Get tags"):
51
  if news_url.strip():