herztard commited on
Commit
1505e07
·
1 Parent(s): 12854bd

input and cats

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -8,4 +8,7 @@ model = load_model()
8
 
9
 
10
  st.title("Tag Detection from CNN News articles")
11
- st.write("Enter a CNN News article URL.")
 
 
 
 
8
 
9
 
10
  st.title("Tag Detection from CNN News articles")
11
+ st.write("Enter a CNN News article URL.")
12
+
13
+ news_url = st.text_input("CNN Article URL:", placeholder="Example: https://edition.cnn.com/2024/12/19/science/stonehenge-monument-early-farmers/index.html")
14
+ categories = ["Politics", "Sports", "Weather", "Culture", "Crime"]