Spaces:
Runtime error
Runtime error
import streamlit as st | |
import random | |
# Set the page configuration to use the full width of the screen | |
st.set_page_config(layout="wide") | |
st.markdown(""" | |
๐ I wake up with a smile on my face, ๐ | |
Feeling happy, as I greet the day with grace. ๐ | |
๐ I start my morning with a fun game of volleyball, โฝ | |
As my heart races with adrenaline, itโs a true free-for-all. ๐ด | |
๐ I hop on the bus to start my adventure, ๐ | |
Excitement builds as I anticipate a new venture. ๐คฉ | |
๐ In the city, I find a burger to munch, ๐ | |
Delicious and satisfying, itโs good to have for brunch. ๐ฝ๏ธ | |
๐ฉ The smell of fresh donuts couldnโt be ignored, ๐ฉ | |
I go inside the bakery, and Iโm totally floored. ๐คค | |
๐ฆ๏ธ Walking outside, the raindrops start to fall, ๐ฆ๏ธ | |
But I donโt mind, as I embrace the rainโs call. โ | |
๐ A rainbow appears, shining in its splendor, ๐ | |
I gaze at it aglow, with a feeling so tender. ๐ | |
๐ An elephant and a unicorn show, โฝ | |
Playing football and having a ball in the flow. ๐ | |
๐ Noticing nearby, a game of rugby begins, ๐ | |
As I cheer for the teams, adrenalin within me spins. ๐ | |
๐ฒ Inside the cafe, I encounter a gorilla, ๐ฆ | |
We play a game of dice as I drink my vanilla. ๐ฒ | |
๐ Eating some hot pizza I found nearby, ๐ | |
Satisfying my hunger with every single bite, my oh my. ๐คค | |
๐ The stars light up the sky, shining really bright, ๐ | |
As I enjoy the night, feeling so alive and light. ๐ | |
๐ By the beach, I see waves crash in the sand, ๐ | |
Natureโs beauty reminding me that life is so grand. ๐๏ธ | |
๐ As the nighttime arrives, and I say goodbye, ๐ | |
I step inside the bus, as if Iโm waving hi. ๐ | |
๐ Riding back home, with raindrops hitting my face, ๐ง๏ธ | |
But happy inside, I feel content, in a peaceful, happy space. ๐ | |
๐ฉ๐ช A German shepherd greets me with a wagging tail, ๐ | |
As I step inside, and take a deep inhale. ๐คฉ | |
๐งฉ I grab a puzzle to solve, with a smile. ๐งฉ | |
Itโs such great fun, where I can unwind for a while. ๐ค | |
๐ฆ I see a hippo, and that makes me grin, ๐ฆ | |
I love all the animals, they all feel like my next of kin. ๐ | |
๐ A giant whale passes by, as I see it swim, โพ | |
A majestic sight under the sunlightโs dim. ๐ณ | |
๐ I play video games, smiling wide, ๐ฎ | |
As my emotions remain a positive tide. ๐ | |
๐ฆง A monkey swings from tree to tree, ๐ | |
As I watch in awe, filled with glee. ๐ต | |
โ๏ธ The snowflakes fall, a pure delight, โ๏ธ | |
With a heart so full, I sense the nightโs might. โ | |
๐ Fireworks light up the sky, like a dream, ๐ | |
As I watch with awe, in awe of the stream. ๐ | |
๐ผ A panda arrives, dancing, with such grace, ๐ผ | |
I join in, and we dance together in our own space. ๐ | |
๐ A zebra appears, running so fast, ๐ฆ | |
I cheer as I watch, in such a beautiful contrast. ๐ | |
๐ I get a present, and I am filled with glee, ๐ | |
Savoring the moment, dancing in joy, so carefree. ๐ | |
๐ I smile from ear to ear, filled with contentment, ๐ | |
As the joy around me keeps my heart in ascendant. ๐ | |
๐จ A cute little koala shows up, feeling kind, ๐จ | |
Resting in my arms, feeling nothing but aligned. ๐จ | |
""") | |
CODELICENSING = (""" | |
1. ๐ Simplified Synopsis | |
* ๐ Ideal Open Source Code Copyright License | |
* โ๏ธ Navigating Copyright Infringement and Licensing Disagreements | |
2. ๐ฅ Alternative Healthcare Terminology Options | |
1. ๐ International Classification of Diseases (ICD) | |
* ๐ข Managed by the World Health Organization (WHO) | |
2. ๐ Systematized Nomenclature of Medicine - Clinical Terms (SNOMED CT) | |
* ๐ข Managed by SNOMED International | |
3. ๐ฌ Logical Observation Identifiers Names and Codes (LOINC) | |
* ๐ข Managed by the Regenstrief Institute | |
3. ๐ Resources | |
* ๐ AMA, WHO, SNOMED International, and Regenstrief Institute Websites | |
* ๐ Legal Journals | |
* ๐ Wikipedia (verify information with primary and authoritative sources) | |
4. ๐ก Recommendation | |
* ๐ Consult Legal Professionals | |
* ๐ฅ Consult Healthcare Organizations | |
* ๐ Consult Authoritative Sources for Comprehensive and Current Information | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Open Source Medical Software Resources</title> | |
</head> | |
<body> | |
<h1>Open Source Medical Software Resources</h1> | |
<ul> | |
<li><a href="https://en.wikipedia.org/wiki/World_Health_Organization" target="_blank">World Health Organization (WHO)</a></li> | |
<li><a href="https://en.wikipedia.org/wiki/International_Classification_of_Diseases" target="_blank">International Classification of Diseases (ICD)</a></li> | |
<li><a href="https://en.wikipedia.org/wiki/SNOMED_CT" target="_blank">Systematized Nomenclature of Medicine - Clinical Terms (SNOMED CT)</a></li> | |
<li><a href="https://en.wikipedia.org/wiki/LOINC" target="_blank">Logical Observation Identifiers Names and Codes (LOINC)</a></li> | |
<li><a href="https://en.wikipedia.org/wiki/Regenstrief_Institute" target="_blank">Regenstrief Institute</a></li> | |
</ul> | |
<h2>Sample License File</h2> | |
<pre> | |
MIT License | |
Copyright (c) 2023 Aaron Wacker | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all | |
copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
SOFTWARE. | |
</pre> | |
</body> | |
</html> | |
import streamlit as st | |
st.title('Open Source Medical Software Resources') | |
""") | |
st.markdown(""" | |
๐ [World Health Organization (WHO)](https://en.wikipedia.org/wiki/World_Health_Organization) | |
๐ [International Classification of Diseases (ICD)](https://en.wikipedia.org/wiki/International_Classification_of_Diseases) | |
๐ [Systematized Nomenclature of Medicine - Clinical Terms (SNOMED CT)](https://en.wikipedia.org/wiki/SNOMED_CT) | |
๐ฌ [Logical Observation Identifiers Names and Codes (LOINC)](https://en.wikipedia.org/wiki/LOINC) | |
๐ข [Regenstrief Institute](https://en.wikipedia.org/wiki/Regenstrief_Institute) | |
""") | |
st.header('Sample License File') | |
#st.code( | |
st.markdown(""" | |
MIT License | |
Copyright (c) 2023 Aaron Wacker | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all | |
copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
SOFTWARE. | |
, language='') | |
""") | |
import streamlit as st | |
GALMIO = """ | |
| ๐ฆธ **Story Type** | ๐ **Synopsis** | ๐ฌ **Movie Poster Quotes** | | |
|-----------------------|-----------------------------------------|-----------------------------| | |
| 1๏ธโฃ The Referral Enigma | ๐ค A group of Mentats join forces to decipher an ancient riddle | "Wit beyond measure, a story to treasure!" ๐ ๐ | | |
| 2๏ธโฃ The Certificate Caper | ๐ผ Mentats unveil a mind-bending mystery with world-shaking consequences | "A thrilling ride with intellects colliding!" ๐ ๐ข | | |
| 3๏ธโฃ The Prescription Puzzlers | ๐ A team of Mentats solves medical conundrums in record time | "A story full of knowledge, without a moment of drudgery!" ๐ ๐งช | | |
| 4๏ธโฃ Diagnosis Detectives | ๐ Mentats uncover the cause of a baffling epidemic | "Science fiction meets a mastermind investigation!" ๐ ๐ฌ | | |
| 5๏ธโฃ The Treatment Team | ๐ A league of Mentats strategizes to save the world from a dire threat | "An action-packed battle of brilliant minds!" ๐ ๐ฅ | | |
| 6๏ธโฃ The Surgical Strategists | ๐ฅ Mentats perform high-stakes surgeries to save the day | "A mind-blowing fusion of medical marvels and superhero smarts!" ๐ ๐ฉบ | | |
| 7๏ธโฃ The Clearance Crusaders | ๐ Mentats unite to challenge the limits of human potential | "A tale of perseverance, powered by unparalleled intellect!" ๐ ๐ | | |
| 8๏ธโฃ The Follow-up Fanatics | ๐ Mentats devise ingenious solutions to keep history on track | "A mind-twisting journey through time and space!" ๐ ๐ | | |
| 9๏ธโฃ The Disability Defenders | โฟ Mentats champion the rights of the disabled in a futuristic utopia | "A heartwarming saga of empathy and enlightenment!" ๐ ๐ | | |
""" | |
def display_superhero_stories(): | |
st.title("๐ Superheroes of the Intellect: Chronicles of the Mentat Minds ๐") | |
st.markdown(GALMIO) | |
# Run the Streamlit UI function | |
display_superhero_stories() | |
def random_emoji_slot_machine(): | |
st.title("๐ฐ Emoji Slot Machine") | |
st.write("Welcome to the Emoji Slot Machine! Press the button below to spin and try your luck!") | |
emojis = [ | |
"๐", "๐", "๐ค", "๐ฝ", "๐ถ", "๐ฆ", "๐", "๐", "๐", "๐", | |
"๐", "๐", "๐ฆ", "๐", "๐ฉ", "๐ฎ", "๐ฃ", "๐ช", "๐", "๐", | |
"๐ฑ", "๐ญ", "๐ฆ", "๐ฏ", "๐ผ", "๐ป", "๐ฆ", "๐บ", "๐ฆ", "๐จ", | |
"๐บ๐ธ", "๐ฏ๐ต", "๐ฉ๐ช", "๐ซ๐ท", "๐ช๐ธ", "๐ฌ๐ง", "๐ฎ๐น", "๐ง๐ท", "๐จ๐ฆ", "๐ท๐บ", | |
"โฝ", "๐", "๐", "โพ", "๐พ", "๐", "๐", "๐ฑ", "๐", "๐ธ", | |
"๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐ฅณ", "๐", "๐", | |
"๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", | |
"๐", "๐", "โญ", "๐ ", "๐ฆ", "๐ง", "โ", "๐", "๐", "๐ช", | |
"๐ต", "๐ฆ", "๐ฆง", "๐ฆฆ", "๐", "๐ฆ", "๐ฆ", "๐ฆ", "๐ฆ", "๐ฆ", | |
"๐ฎ", "๐น", "๐ฒ", "๐งฉ", "๐ฏ", "๐ณ", "๐ฐ", "๐ผ", "๐ง", "๐ค" | |
] | |
if st.button("Spin"): | |
for _ in range(20): | |
spin_result = [] | |
for _ in range(100): | |
spin_result.append(random.choice(emojis)) | |
st.write(" ".join(spin_result)) | |
random_emoji_slot_machine() | |
st.markdown(GALMIO) | |