awacke1 commited on
Commit
4a491eb
·
verified ·
1 Parent(s): 6231f23

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +57 -0
app.py ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # Wide mode for Rocky Mountain realness
4
+ st.set_page_config(layout="wide", page_title="Colorado Mad Libs Madness 😂🏔️", page_icon="🦌")
5
+
6
+ # Header with meme energy
7
+ st.title("Colorado Mad Libs: Mountains, Memes, & Mayhem 🏔️✨")
8
+ st.subheader("Fill in the Blanks for Peak LOLs 😂🌲")
9
+
10
+ # Intro
11
+ st.write("Drop some wild words below and watch this Colorado-tech-censorship fever dream come to life. Think TikTok bans, fourteeners, and elk photobombs—let’s get unhinged! 🔥")
12
+
13
+ # Input fields with undertext (placeholders)
14
+ st.markdown("### Your Chaos Fuel ⛽")
15
+ col1, col2 = st.columns(2) # Split into two columns for cleaner UI
16
+
17
+ with col1:
18
+ plural_noun = st.text_input("1. Plural Noun", placeholder="e.g., 'tacos', 'vibes'")
19
+ adjective1 = st.text_input("2. Adjective", placeholder="e.g., 'spicy', 'derpy'")
20
+ verb_ing = st.text_input("3. Verb ending in -ing", placeholder="e.g., 'yeeting', 'vibing'")
21
+ celebrity = st.text_input("4. Celebrity Name", placeholder="e.g., 'Elon Musk', 'Taylor Swift'")
22
+ object = st.text_input("5. Random Object", placeholder="e.g., 'toaster', 'pineapple'")
23
+ emotion = st.text_input("6. Emotion", placeholder="e.g., 'salty', 'hype'")
24
+ animal = st.text_input("7. Animal", placeholder="e.g., 'llama', 'elk'")
25
+ verb_past = st.text_input("8. Verb (past tense)", placeholder="e.g., 'yeeted', 'blooped'")
26
+ place = st.text_input("9. Place", placeholder="e.g., 'Walmart', 'Rockies'")
27
+ exclamation = st.text_input("10. Exclamation", placeholder="e.g., 'Bruh!', 'Skibidi!'")
28
+
29
+ with col2:
30
+ food = st.text_input("11. Food Item", placeholder="e.g., 'pizza', 'nuggets'")
31
+ adjective2 = st.text_input("12. Adjective", placeholder="e.g., 'cringe', 'lit'")
32
+ body_part = st.text_input("13. Body Part", placeholder="e.g., 'nose', 'elbow'")
33
+ number = st.text_input("14. Number", placeholder="e.g., '69', '420'")
34
+ song = st.text_input("15. Song Title", placeholder="e.g., 'Sweet Caroline', 'Baby Shark'")
35
+ verb_present = st.text_input("16. Verb (present tense)", placeholder="e.g., 'slay', 'vibe'")
36
+ occupation = st.text_input("17. Occupation", placeholder="e.g., 'barista', 'influencer'")
37
+ color = st.text_input("18. Color", placeholder="e.g., 'neon', 'teal'")
38
+ noun = st.text_input("19. Noun", placeholder="e.g., 'vibes', 'chaos'")
39
+ sound = st.text_input("20. Silly Sound Effect", placeholder="e.g., 'Womp womp!', 'Boop!'")
40
+
41
+ # The Mad Libs Story
42
+ if st.button("Generate the Madness! 🎉"):
43
+ st.markdown("---")
44
+ st.header("Your Colorado-Tech-Meme Masterpiece 🏔️😂")
45
+ story = f"""
46
+ Once upon a time in March 2025, Colorado was overrun by {plural_noun}. These {adjective1} little gremlins were {verb_ing} all over the Rockies, making climbers question their life choices. 🏔️ It all kicked off when {celebrity} posted a TikTok holding a {object}, captioned, “POV: You’re {emotion} but still gotta out-climb a {animal} that {verb_past} your vibes in {place} last week.”
47
+
48
+ X lost its mind—users spammed {exclamation}! and {food} emojis like it was their job. The replies? Pure {adjective2} chaos. Meanwhile, a rogue {animal} went viral after someone slapped its {body_part} into a clip with {number} loops of “{song}.” The internet collectively screamed, “We {verb_present} this energy!”
49
+
50
+ Then, a {occupation} with a {color} {noun} dropped a bombshell: “Twitter Files and Marc Andreessen were right—govt’s been yeeting free speech since 2021!” Debanking hit hard—banks ditched accounts faster than you can say ‘First Amendment.’ Colorado’s fourteeners just sighed, too pretty for this {sound} nonsense.
51
+ """
52
+ st.write(story)
53
+ st.image("https://source.unsplash.com/1600x900/?rocky-mountains", caption="Rockies watching this chaos unfold like 🦌🍿")
54
+
55
+ # Footer with sass
56
+ st.markdown("---")
57
+ st.write("Powered by Grok 3 @ xAI 🔥—Colorado madness, tech roasts, and your unhinged brain. Stay wild, fam! 😎")