MINHCT commited on
Commit
dd435da
1 Parent(s): c202918

Update Project Title

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -113,7 +113,7 @@ def categorize(url):
113
 
114
 
115
  # Main App
116
- st.title('CatSnap: Instant Category Classification')
117
  st.write("Unsure what category a CNN article belongs to? Our clever tool can help! Paste the URL below and press Enter. We'll sort it into one of our 5 categories in a flash! ⚡️")
118
 
119
  # Define category information (modify content and bullet points as needed)
@@ -191,7 +191,7 @@ st.divider() # 👈 Draws a horizontal rule
191
 
192
  st.title('Dive in! See what category your CNN story belongs to 😉.')
193
  # Paste URL Input
194
- url = st.text_input("Find your favorite CNN story! Paste the URL here.", placeholder='Ex: https://edition.cnn.com/2012/01/31/health/frank-njenga-mental-health/index.html')
195
 
196
  if url:
197
  st.divider() # 👈 Draws a horizontal rule
@@ -231,8 +231,8 @@ current_year = date.today().year
231
  # Format the copyright statement with dynamic year
232
  copyright_text = f"Copyright © {current_year}"
233
  st.title(copyright_text)
234
- author_names = ["Trịnh Cẩm Minh (Member)", "Lương Ngọc Phương (Member)", "Trần Thanh Phước (Mentor)"]
235
  st.write("Meet the minds behind the work!")
236
  for author in author_names:
237
- if (author == "Trịnh Cẩm Minh (Member)"): st.markdown("[Trịnh Cẩm Minh (Member)](#https://minhct.netlify.app/)")
238
  else: st.text(f"- {author}\n") # Use f-string for bullet and newline
 
113
 
114
 
115
  # Main App
116
+ st.title('Instant Category Classification')
117
  st.write("Unsure what category a CNN article belongs to? Our clever tool can help! Paste the URL below and press Enter. We'll sort it into one of our 5 categories in a flash! ⚡️")
118
 
119
  # Define category information (modify content and bullet points as needed)
 
191
 
192
  st.title('Dive in! See what category your CNN story belongs to 😉.')
193
  # Paste URL Input
194
+ url = st.text_input("Find your favorite CNN story! Paste the URL and press ENTER 🔍.", placeholder='Ex: https://edition.cnn.com/2012/01/31/health/frank-njenga-mental-health/index.html')
195
 
196
  if url:
197
  st.divider() # 👈 Draws a horizontal rule
 
231
  # Format the copyright statement with dynamic year
232
  copyright_text = f"Copyright © {current_year}"
233
  st.title(copyright_text)
234
+ author_names = ["Trần Thanh Phước (Mentor)", "Lương Ngọc Phương (Member)", "Trịnh Cẩm Minh (Member)"]
235
  st.write("Meet the minds behind the work!")
236
  for author in author_names:
237
+ if (author == "Trịnh Cẩm Minh (Member)"): st.markdown("- [Trịnh Cẩm Minh (Member)](#https://minhct.netlify.app/)")
238
  else: st.text(f"- {author}\n") # Use f-string for bullet and newline