Update app.py
Browse files
app.py
CHANGED
|
@@ -1,49 +1,73 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
# Set the page configuration
|
| 4 |
-
st.set_page_config(page_title="Simple Care Services", layout="wide")
|
| 5 |
-
|
| 6 |
# Sidebar
|
| 7 |
-
st.sidebar.
|
| 8 |
-
st.sidebar.
|
| 9 |
-
st.sidebar.
|
| 10 |
-
st.sidebar.
|
| 11 |
-
st.sidebar.
|
| 12 |
-
st.sidebar.
|
| 13 |
-
st.sidebar.
|
| 14 |
-
st.sidebar.
|
| 15 |
-
st.sidebar.
|
| 16 |
-
st.sidebar.
|
| 17 |
-
st.sidebar.
|
| 18 |
-
st.sidebar.write("Ship Design AI Solutions")
|
| 19 |
-
st.sidebar.write("IJEPA and its Variants")
|
| 20 |
-
st.sidebar.write("Improved OCR Streamlit UI")
|
| 21 |
-
st.sidebar.write("### Add Team workspace")
|
| 22 |
-
st.sidebar.write("Collaborate on a Team plan")
|
| 23 |
-
|
| 24 |
-
# Main content
|
| 25 |
-
st.title("ChatGPT 4")
|
| 26 |
|
| 27 |
-
#
|
| 28 |
-
st.
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
-
### 馃拤 Anytime, Anywhere Health Access 馃拤
|
| 43 |
-
- **Seamless Care:** With Prime Time Health Care, get telehealth and medication delivered. 馃殌
|
| 44 |
-
- **Simplified and Convenient:** Making healthcare a breeze for you. 馃専
|
| 45 |
|
| 46 |
-
Dive into a world where health care comes with ease and fun, designed with you in mind.
|
| 47 |
-
""")
|
| 48 |
|
| 49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
# Sidebar
|
| 4 |
+
st.sidebar.image("https://via.placeholder.com/150", width=150) # Placeholder for logo
|
| 5 |
+
st.sidebar.markdown("## Home")
|
| 6 |
+
st.sidebar.markdown("## Create")
|
| 7 |
+
st.sidebar.markdown("## Library")
|
| 8 |
+
st.sidebar.markdown("## Explore")
|
| 9 |
+
st.sidebar.markdown("## 2360 credits")
|
| 10 |
+
st.sidebar.markdown("## Subscription")
|
| 11 |
+
st.sidebar.markdown("## What's New")
|
| 12 |
+
st.sidebar.markdown("## Community")
|
| 13 |
+
st.sidebar.markdown("## Help")
|
| 14 |
+
st.sidebar.markdown("## About")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
# Main Content Area
|
| 17 |
+
st.title("Create")
|
| 18 |
+
|
| 19 |
+
# Form
|
| 20 |
+
st.checkbox("Custom Mode")
|
| 21 |
+
st.text_area("Song Description", "a futuristic anime song about a literal banana")
|
| 22 |
+
st.checkbox("Instrumental")
|
| 23 |
+
st.selectbox("Version", ["v3"])
|
| 24 |
+
st.button("Create 馃幍")
|
| 25 |
|
| 26 |
+
# List of items
|
| 27 |
+
items = [
|
| 28 |
+
{"title": "Dance Under The Moonlight", "description": "acoustic guitar flamenco dance beat kizomba soaring vocalist progressive house", "version": "v3"},
|
| 29 |
+
{"title": "The Tale of Yggdrasil", "description": "folk acoustic storytelling", "version": "v3"},
|
| 30 |
+
{"title": "The Song of Yggdrasil", "description": "tropical latin acoustic", "version": "v3"},
|
| 31 |
+
{"title": "Sacred Frequencies", "description": "progressive edm uplifting", "version": "v3"},
|
| 32 |
+
{"title": "Let's Get Jokin'", "description": "progressive house electronic dubstep", "version": "v3"},
|
| 33 |
+
{"title": "Jokes That Make You Dance", "description": "marching band progressive house dance", "version": "v3"},
|
| 34 |
+
{"title": "Joke Parade", "description": "progressive house dance 128bpm marching band bass drum dubstep", "version": "v3"},
|
| 35 |
+
{"title": "Laughing On The Dancefloor", "description": "128bpm progressive house dance", "version": "v3"},
|
| 36 |
+
]
|
| 37 |
|
| 38 |
+
for item in items:
|
| 39 |
+
st.image("https://via.placeholder.com/50", width=50) # Placeholder for image
|
| 40 |
+
st.markdown(f"### {item['title']} v{item['version']}")
|
| 41 |
+
st.markdown(f"{item['description']}")
|
| 42 |
+
col1, col2, col3, col4, col5 = st.columns([1, 1, 1, 1, 1])
|
| 43 |
+
with col1:
|
| 44 |
+
st.button("馃憤")
|
| 45 |
+
with col2:
|
| 46 |
+
st.button("馃憥")
|
| 47 |
+
with col3:
|
| 48 |
+
st.button("Extend")
|
| 49 |
+
with col4:
|
| 50 |
+
st.checkbox("Public")
|
| 51 |
+
with col5:
|
| 52 |
+
st.button("馃敆")
|
| 53 |
|
| 54 |
+
# Footer
|
| 55 |
+
st.markdown("---")
|
| 56 |
+
col1, col2, col3, col4, col5 = st.columns([1, 1, 1, 1, 1])
|
| 57 |
+
with col1:
|
| 58 |
+
st.button("鈴笍")
|
| 59 |
+
with col2:
|
| 60 |
+
st.button("鈴笍")
|
| 61 |
+
with col3:
|
| 62 |
+
st.button("鈴笍")
|
| 63 |
+
with col4:
|
| 64 |
+
st.slider("Volume", 0, 100, 50)
|
| 65 |
+
with col5:
|
| 66 |
+
st.text("0:00")
|
| 67 |
|
|
|
|
|
|
|
|
|
|
| 68 |
|
|
|
|
|
|
|
| 69 |
|
| 70 |
+
# Inject process methods steps and input
|
| 71 |
+
st.image("Suno.png")
|
| 72 |
+
st.write('This example tests AIPP and GPT4o text and image prompts to take a screenshot and produce a one shot app using streamlit and python app. Prompt: Provide a development analysis of the layout of this html5 web app and create a streamlit python UI that duplicates exactly the layout features and text of each UI element.')
|
| 73 |
+
|