ReallyFloppyPenguin commited on
Commit
cd56956
·
verified ·
1 Parent(s): 45698fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -5
app.py CHANGED
@@ -9,7 +9,7 @@ blog_entries = [
9
  "title": "Talk to your AI like a 'bro'",
10
  "content": "Because talking like a 'bro' to ya ai make yo ai tawk likka bro",
11
  "date": "2024-01-15",
12
- "category": "Swag & Swag"
13
  },
14
  {
15
  "id": 2,
@@ -23,7 +23,7 @@ blog_entries = [
23
  "title": "Ask AI to bust a dad joke about itself",
24
  "content": "Ask your ai to bust a dad joke about itself, because, why not?",
25
  "date": "2024-01-13",
26
- "category": "Jokes & LOL"
27
  },
28
  {
29
  "id": 4,
@@ -37,7 +37,7 @@ blog_entries = [
37
  "title": "Insult AI when it get 'how many r's are in strawberry' wrong",
38
  "content": "Because it is a good way to let out some anger on something without feelings",
39
  "date": "2024-01-11",
40
- "category": "IQ & Dumbness"
41
  },
42
  {
43
  "id": 6,
@@ -73,8 +73,15 @@ def create_blog_entry_html(entry):
73
  </span>
74
  </div>
75
  <p style="color: #666; margin: 10px 0; line-height: 1.6;">{entry['content']}</p>
76
- <div style="color: #999; font-size: 12px; margin-top: 15px;">
77
- 📅 {entry['date']}
 
 
 
 
 
 
 
78
  </div>
79
  </div>
80
  """
 
9
  "title": "Talk to your AI like a 'bro'",
10
  "content": "Because talking like a 'bro' to ya ai make yo ai tawk likka bro",
11
  "date": "2024-01-15",
12
+ "category": "Romance & Relationships"
13
  },
14
  {
15
  "id": 2,
 
23
  "title": "Ask AI to bust a dad joke about itself",
24
  "content": "Ask your ai to bust a dad joke about itself, because, why not?",
25
  "date": "2024-01-13",
26
+ "category": "Fashion & Style"
27
  },
28
  {
29
  "id": 4,
 
37
  "title": "Insult AI when it get 'how many r's are in strawberry' wrong",
38
  "content": "Because it is a good way to let out some anger on something without feelings",
39
  "date": "2024-01-11",
40
+ "category": "Health & Fitness"
41
  },
42
  {
43
  "id": 6,
 
73
  </span>
74
  </div>
75
  <p style="color: #666; margin: 10px 0; line-height: 1.6;">{entry['content']}</p>
76
+ <div style="display: flex; justify-content: space-between; align-items: center; margin-top: 15px;">
77
+ <div style="color: #999; font-size: 12px;">
78
+ 📅 {entry['date']}
79
+ </div>
80
+ <a href="https://huggingface.co/spaces/ReallyFloppyPenguin/AstonishingSuperIntel"
81
+ target="_blank"
82
+ style="background: #ff6b6b; color: white; padding: 8px 16px; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: bold; transition: background-color 0.3s;">
83
+ 🚀 Try it here
84
+ </a>
85
  </div>
86
  </div>
87
  """