awacke1's picture
Update app.py
70f9b72
raw
history blame
8.37 kB
import streamlit as st
import random
# Set the page configuration to use the full width of the screen
st.set_page_config(layout="wide")
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)