awacke1 commited on
Commit
74b1080
β€’
1 Parent(s): 03ce0e0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +169 -0
README.md CHANGED
@@ -44,3 +44,172 @@ The intent is to demonstrate SOTA AI/ML and combinations of Function-Input-Outpu
44
  This space also serves as an experimental test bed for new technologies mixing it in with old for comparison and integration.
45
 
46
  --Aaron
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  This space also serves as an experimental test bed for new technologies mixing it in with old for comparison and integration.
45
 
46
  --Aaron
47
+
48
+
49
+
50
+
51
+ ----
52
+
53
+
54
+
55
+ Today looking at the just released Strawberry model for data self teaching reasoner data.
56
+
57
+ First a really hard input challenge:
58
+
59
+ Take the two apps below and combine them into a single app that uses a timer to change quotes, features an image voting capability along with scores of like count by user, and last
60
+
61
+ import streamlit as st
62
+ import time
63
+ import random
64
+
65
+ quotes = [
66
+ {"Number": 1, "Quote Topic": "Stages of Life 🌱", "Quote": "Every age unfolds a new lesson. Life's chapters evolve, each teaching us anew."},
67
+ {"Number": 2, "Quote Topic": "Stages of Life 🌱", "Quote": "From infancy to twilight, our journey is painted in growth. Every stage shines with its own wisdom."},
68
+ {"Number": 3, "Quote Topic": "Identity 🎭", "Quote": "We piece together our identity with experiences. In the vast cosmos, our ever-changing signature is our identity."},
69
+ {"Number": 4, "Quote Topic": "Identity 🎭", "Quote": "We aren't born with a defined self. Our identity is an art, crafted through introspection and encounters."},
70
+ {"Number": 5, "Quote Topic": "Enlightenment πŸ’‘", "Quote": "Every step towards enlightenment is a dive within. It's an ongoing journey of self and universe."},
71
+ {"Number": 6, "Quote Topic": "Enlightenment πŸ’‘", "Quote": "True insight isn't just about knowledge. It's the harmony of mind, heart, and soul."},
72
+ {"Number": 7, "Quote Topic": "Adaptive Resonance Theory 🧠", "Quote": "Our cognition is like a river, ever-flowing and adapting. Every experience shapes its course, forming new resonances."},
73
+ {"Number": 8, "Quote Topic": "Adaptive Resonance Theory 🧠", "Quote": "The brain's capacity to learn is profound. It finds its rhythm in adaptive resonances."},
74
+ {"Number": 9, "Quote Topic": "Panpsychism 🌌", "Quote": "The universe might hum with consciousness in every atom. Every speck could be part of this grand song."},
75
+ {"Number": 10, "Quote Topic": "Panpsychism 🌌", "Quote": "What if consciousness isn't exclusive to us? The universe's shared melody might be sung by all."},
76
+ {"Number": 11, "Quote Topic": "How to Think πŸ€”", "Quote": "Thinking isn't about arriving, it's about exploring. Dive deep, question, and embrace the universe within."},
77
+ {"Number": 12, "Quote Topic": "How to Think πŸ€”", "Quote": "To think profoundly is to touch the cosmos. It's about connecting with the vastness and intricacies it holds."},
78
+ {"Number": 13, "Quote Topic": "Plants Communication 🌿", "Quote": "In every leaf and root, plants tell tales of life. Their silent growth is a language we're just beginning to decipher."},
79
+ {"Number": 14, "Quote Topic": "Plants Communication 🌿", "Quote": "Nature's every rustle is a whispered secret. It's a testament to the intricate web of communication."},
80
+ {"Number": 15, "Quote Topic": "Fame 🌟", "Quote": "True impact outlives fleeting fame. What endures is the legacy we craft, not the applause we receive."},
81
+ {"Number": 16, "Quote Topic": "Fame 🌟", "Quote": "Fame might shine bright, but it's transient. Genuine influence is the silent footprint we leave in time."},
82
+ {"Number": 17, "Quote Topic": "Happiness 😊", "Quote": "True happiness is an inner light that shines brightest in shared moments."},
83
+ {"Number": 18, "Quote Topic": "Happiness 😊", "Quote": "Life's riches aren't material but the joyous moments and heartfelt memories we gather."},
84
+ {"Number": 19, "Quote Topic": "Exercise πŸƒ", "Quote": "Exercise is the symphony of the body, resonating with health and vitality."},
85
+ {"Number": 20, "Quote Topic": "Exercise πŸƒ", "Quote": "In movement, we find balance, strength, and a celebration of life's potential."},
86
+ {"Number": 21, "Quote Topic": "Good Habits πŸ”„", "Quote": "Good habits are the bricks that build the mansion of success."},
87
+ {"Number": 22, "Quote Topic": "Good Habits πŸ”„", "Quote": "Consistency in habits crafts our destiny, one action at a time."},
88
+ {"Number": 23, "Quote Topic": "Discipline πŸ•°οΈ", "Quote": "Discipline is the bridge between dreams and their realization."},
89
+ {"Number": 24, "Quote Topic": "Discipline πŸ•°οΈ", "Quote": "Through discipline, chaos transforms into order, and aspirations into achievements."},
90
+ {"Number": 25, "Quote Topic": "Stamina πŸš€", "Quote": "Stamina isn't just enduring but thriving amidst challenges."},
91
+ {"Number": 26, "Quote Topic": "Stamina πŸš€", "Quote": "It's stamina that turns obstacles into stepping stones, fueling our journey forward."},
92
+ {"Number": 27, "Quote Topic": "Artificial General Intelligence 🀯", "Quote": "AGI is not just about mimicking humans but understanding the core of intelligence itself."},
93
+ {"Number": 28, "Quote Topic": "Artificial General Intelligence 🀯", "Quote": "The pursuit of AGI is a testament to humanity's quest to transcend its own boundaries."},
94
+ {"Number": 29, "Quote Topic": "AI Pipelines πŸ› οΈ", "Quote": "AI pipelines are the arteries of intelligent systems, directing the flow of knowledge."},
95
+ {"Number": 30, "Quote Topic": "AI Pipelines πŸ› οΈ", "Quote": "In well-crafted pipelines, AI finds its rhythm, efficiency, and transformative power."},
96
+ {"Number": 31, "Quote Topic": "Genius 🌟", "Quote": "Genius isn't just raw talent; it's the alchemy of persistence, passion, and perspective."},
97
+ {"Number": 32, "Quote Topic": "Genius 🌟", "Quote": "Every spark of genius has been nurtured by curiosity and an insatiable thirst for knowledge."},
98
+ {"Number": 33, "Quote Topic": "Our Brains 🧠", "Quote": "Our brain is the universe's masterpiece, a nexus of thoughts, dreams, and memories."},
99
+ {"Number": 34, "Quote Topic": "Our Brains 🧠", "Quote": "In every neuron, our brain holds the potential of countless possibilities and imaginations."},
100
+ {"Number": 35, "Quote Topic": "Our Brains 🧠", "Quote": "The intricacies of our brain reflect the cosmos: vast, complex, and beautifully mysterious."},
101
+ {"Number": 36, "Quote Topic": "Our Brains 🧠", "Quote": "Understanding our brain is the key to unlocking the enigmas of consciousness, behavior, and potential."},
102
+ {"Number": 37, "Quote Topic": "Mindfulness 🌼", "Quote": "Mindfulness is the anchor that grounds us in the present, amidst life's tumultuous seas."},
103
+ {"Number": 38, "Quote Topic": "Mindfulness 🌼", "Quote": "In the act of being mindful, we embrace life's symphony, note by note, moment by moment."},
104
+ {"Number": 39, "Quote Topic": "Resilience πŸ’ͺ", "Quote": "Resilience is the art of bouncing back, turning wounds into wisdom and setbacks into comebacks."},
105
+ {"Number": 40, "Quote Topic": "Resilience πŸ’ͺ", "Quote": "Life will test us, but with resilience, we rise, stronger and more enlightened."},
106
+ {"Number": 41, "Quote Topic": "Innovation πŸ’‘", "Quote": "Innovation is the heartbeat of progress, pushing boundaries and redefining possibilities."},
107
+ {"Number": 42, "Quote Topic": "Innovation πŸ’‘", "Quote": "Every breakthrough, every invention, is a testament to humanity's relentless spirit of innovation."},
108
+ {"Number": 43, "Quote Topic": "Empathy ❀️", "Quote": "Empathy is the bridge between souls, transcending words and touching hearts."},
109
+ {"Number": 44, "Quote Topic": "Empathy ❀️", "Quote": "Through empathy, we see the world through another's eyes, fostering understanding and unity."},
110
+ {"Number": 45, "Quote Topic": "Happiness 😊", "Quote": "True happiness is an inner light that shines brightest in shared moments."},
111
+ {"Number": 46, "Quote Topic": "Happiness 😊", "Quote": "Life's riches aren't material but the joyous moments and heartfelt memories we gather."},
112
+ {"Number": 47, "Quote Topic": "Exercise πŸƒ", "Quote": "Exercise is the symphony of the body, resonating with health and vitality."},
113
+ {"Number": 48, "Quote Topic": "Exercise πŸƒ", "Quote": "In movement, we find balance, strength, and a celebration of life's potential."},
114
+ {"Number": 49, "Quote Topic": "Good Habits πŸ”„", "Quote": "Good habits are the bricks that build the mansion of success."},
115
+ {"Number": 50, "Quote Topic": "Good Habits πŸ”„", "Quote": "Consistency in habits crafts our destiny, one action at a time."},
116
+ {"Number": 51, "Quote Topic": "Discipline πŸ•°οΈ", "Quote": "Discipline is the bridge between dreams and their realization."},
117
+ {"Number": 52, "Quote Topic": "Discipline πŸ•°οΈ", "Quote": "Through discipline, chaos transforms into order, and aspirations into achievements."},
118
+ {"Number": 53, "Quote Topic": "Stamina πŸš€", "Quote": "Stamina isn't just enduring but thriving amidst challenges."},
119
+ {"Number": 54, "Quote Topic": "Stamina πŸš€", "Quote": "It's stamina that turns obstacles into stepping stones, fueling our journey forward."},
120
+ {"Number": 55, "Quote Topic": "Artificial General Intelligence 🀯", "Quote": "AGI is not just about mimicking humans but understanding the core of intelligence itself."},
121
+ {"Number": 56, "Quote Topic": "Artificial General Intelligence 🀯", "Quote": "The pursuit of AGI is a testament to humanity's quest to transcend its own boundaries."},
122
+ {"Number": 57, "Quote Topic": "AI Pipelines πŸ› οΈ", "Quote": "AI pipelines are the arteries of intelligent systems, directing the flow of knowledge."},
123
+ {"Number": 58, "Quote Topic": "AI Pipelines πŸ› οΈ", "Quote": "In well-crafted pipelines, AI finds its rhythm, efficiency, and transformative power."},
124
+ {"Number": 59, "Quote Topic": "Genius 🌟", "Quote": "Genius isn't just raw talent; it's the alchemy of persistence, passion, and perspective."},
125
+ {"Number": 60, "Quote Topic": "Genius 🌟", "Quote": "Every spark of genius has been nurtured by curiosity and an insatiable thirst for knowledge."},
126
+ {"Number": 61, "Quote Topic": "Our Brains 🧠", "Quote": "Our brain is the universe's masterpiece, a nexus of thoughts, dreams, and memories."},
127
+ {"Number": 62, "Quote Topic": "Our Brains 🧠", "Quote": "In every neuron, our brain holds the potential of countless possibilities and imaginations."},
128
+ {"Number": 63, "Quote Topic": "Our Brains 🧠", "Quote": "The intricacies of our brain reflect the cosmos: vast, complex, and beautifully mysterious."},
129
+ {"Number": 64, "Quote Topic": "Our Brains 🧠", "Quote": "Understanding our brain is the key to unlocking the enigmas of consciousness, behavior, and potential."},
130
+ {"Number": 65, "Quote Topic": "Mindfulness 🌼", "Quote": "Mindfulness is the anchor that grounds us in the present, amidst life's tumultuous seas."},
131
+ {"Number": 66, "Quote Topic": "Mindfulness 🌼", "Quote": "In the act of being mindful, we embrace life's symphony, note by note, moment by moment."},
132
+ {"Number": 67, "Quote Topic": "Resilience πŸ’ͺ", "Quote": "Resilience is the art of bouncing back, turning wounds into wisdom and setbacks into comebacks."},
133
+ {"Number": 68, "Quote Topic": "Resilience πŸ’ͺ", "Quote": "Life will test us, but with resilience, we rise, stronger and more enlightened."},
134
+ {"Number": 69, "Quote Topic": "Innovation πŸ’‘", "Quote": "Innovation is the heartbeat of progress, pushing boundaries and redefining possibilities."},
135
+ {"Number": 70, "Quote Topic": "Innovation πŸ’‘", "Quote": "Every breakthrough, every invention, is a testament to humanity's relentless spirit of innovation."},
136
+ {"Number": 71, "Quote Topic": "Empathy ❀️", "Quote": "Empathy is the bridge between souls, transcending words and touching hearts."},
137
+ {"Number": 72, "Quote Topic": "Empathy ❀️", "Quote": "Through empathy, we see the world through another's eyes, fostering understanding and unity."},
138
+ {"Number": 73, "Quote Topic": "Inspiration 🌈", "Quote": "Inspiration is the spark that ignites the soul, propelling us to chase our dreams."},
139
+ {"Number": 74, "Quote Topic": "Inspiration 🌈", "Quote": "Every moment of inspiration is a call to action, pushing us beyond our boundaries."},
140
+ {"Number": 75, "Quote Topic": "Learning πŸ“š", "Quote": "Learning is the gateway to growth, opening doors to endless possibilities."},
141
+ {"Number": 76, "Quote Topic": "Learning πŸ“š", "Quote": "Every lesson learned is a step towards enlightenment, broadening our horizons."},
142
+ {"Number": 77, "Quote Topic": "Collaboration 🀝", "Quote": "In collaboration, we find strength. Together, we achieve more than we could alone."},
143
+ {"Number": 78, "Quote Topic": "Collaboration 🀝", "Quote": "Unity in purpose paves the way for monumental achievements, showcasing the power of collective effort."},
144
+ {"Number": 79, "Quote Topic": "Dreams 🌌", "Quote": "Dreams are the architects of our future. They sketch the blueprint of our aspirations."},
145
+ {"Number": 80, "Quote Topic": "Dreams 🌌", "Quote": "In dreams, we find hope, and with hope, we transform the fabric of reality."},
146
+ {"Number": 81, "Quote Topic": "Courage 🦁", "Quote": "Courage is the fire that lights our path, even in the face of overwhelming odds."},
147
+ {"Number": 82, "Quote Topic": "Courage 🦁", "Quote": "With courage in our hearts, we defy limitations and embrace the vastness of potential."},
148
+ {"Number": 83, "Quote Topic": "Change πŸŒ€", "Quote": "Change is life's only constant. It shapes, molds, and propels us forward."},
149
+ {"Number": 84, "Quote Topic": "Change πŸŒ€", "Quote": "Embracing change is embracing growth, an acknowledgment of life's ever-evolving nature."},
150
+ {"Number": 85, "Quote Topic": "Adventure 🌍", "Quote": "Life is an adventure, filled with twists, turns, and unexpected discoveries."},
151
+ {"Number": 86, "Quote Topic": "Adventure 🌍", "Quote": "Every adventure, big or small, adds a chapter to our story, enriching our experience."},
152
+ {"Number": 87, "Quote Topic": "Creativity 🎨", "Quote": "Creativity is the dance of the soul, expressing itself in countless forms."},
153
+ {"Number": 88, "Quote Topic": "Creativity 🎨", "Quote": "Through creativity, we paint the world in vibrant colors, showcasing our unique perspectives."},
154
+ {"Number": 89, "Quote Topic": "Passion ❀️", "Quote": "Passion is the fuel for our journey, driving us to chase after our dreams."},
155
+ {"Number": 90, "Quote Topic": "Passion ❀️", "Quote": "With passion, every task becomes a labor of love, and every challenge, a thrilling endeavor."},
156
+ {"Number": 91, "Quote Topic": "Hope 🌟", "Quote": "Hope is the beacon that guides us through stormy nights, reminding us of the dawn that awaits."},
157
+ {"Number": 92, "Quote Topic": "Hope 🌟", "Quote": "In hope, we find solace, and in its embrace, we find the strength to persevere."},
158
+ {"Number": 93, "Quote Topic": "Intuition 🧭", "Quote": "Intuition is the silent whisper of the soul, guiding us with its subtle wisdom."},
159
+ {"Number": 94, "Quote Topic": "Intuition 🧭", "Quote": "By tuning into our intuition, we align with our inner compass, navigating life with clarity."},
160
+ {"Number": 95, "Quote Topic": "Joy πŸ˜ƒ", "Quote": "Joy is the melody of the heart, a song of gratitude and love."},
161
+ {"Number": 96, "Quote Topic": "Joy πŸ˜ƒ", "Quote": "In moments of joy, we connect with the essence of life, celebrating its beauty."},
162
+ {"Number": 97, "Quote Topic": "Wisdom πŸ¦‰", "Quote": "Wisdom is the culmination of experience, a treasure trove of insights and reflections."},
163
+ {"Number": 98, "Quote Topic": "Wisdom πŸ¦‰", "Quote": "With wisdom, we navigate life's complexities, drawing from the lessons of the past."},
164
+ {"Number": 99, "Quote Topic": "Love ❀️", "Quote": "Love is the universal language, transcending boundaries and touching souls."},
165
+ {"Number": 100, "Quote Topic": "Love ❀️", "Quote": "Through love, we find connection, unity, and the essence of existence."}
166
+ ]
167
+
168
+ def display_quote(index):
169
+ '''Function to display the quote using st.markdown()'''
170
+ number = quotes[index]['Number']
171
+ topic = quotes[index]['Quote Topic']
172
+ quote = quotes[index]['Quote']
173
+ st.markdown(f"### {number}. {topic}")
174
+ st.markdown(quote)
175
+
176
+ # Streamlit app
177
+ def main():
178
+
179
+ # Session state to hold the value of AutoRepeat button across reruns
180
+ if "auto_repeat" not in st.session_state:
181
+ st.session_state.auto_repeat = "On"
182
+ if "current_index" not in st.session_state:
183
+ st.session_state.current_index = random.randint(0, len(quotes)-1)
184
+
185
+ st.title("Quote Bot AutoRepeater")
186
+
187
+ # AutoRepeat radio button
188
+ st.session_state.auto_repeat = st.radio("πŸ”„ AutoRepeat", ["On", "Off"], horizontal=True)
189
+
190
+ # Display the current quote
191
+ display_quote(st.session_state.current_index)
192
+
193
+ # Timer logic
194
+ if st.session_state.auto_repeat == "On":
195
+ timer_placeholder = st.empty()
196
+ for i in range(10, 0, -1):
197
+ timer_placeholder.text(f"Time left: {i} seconds")
198
+ time.sleep(1)
199
+ if i == 1:
200
+ st.session_state.current_index = random.randint(0, len(quotes)-1)
201
+ st.rerun()
202
+
203
+ if __name__ == "__main__":
204
+ main()
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+