Spaces:
Sleeping
Sleeping
Commit
·
ac48376
1
Parent(s):
f7b8314
new files added
Browse files- .DS_Store +0 -0
- .streamlit/.DS_Store +0 -0
- .streamlit/config.toml +20 -0
- app.py +20 -0
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
.streamlit/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
.streamlit/config.toml
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[theme]
|
2 |
+
|
3 |
+
# Base colors can be 'light' or 'dark'
|
4 |
+
base = "light"
|
5 |
+
|
6 |
+
# Primary color for your app, specified as a hex or named CSS color
|
7 |
+
primaryColor = "#95c0d6"
|
8 |
+
|
9 |
+
# Background color for your app
|
10 |
+
backgroundColor = "#FFFFFF"
|
11 |
+
|
12 |
+
# Secondary background color for your app
|
13 |
+
secondaryBackgroundColor = "#faf9f9"
|
14 |
+
|
15 |
+
# Text color for your app
|
16 |
+
textColor = "#262730"
|
17 |
+
|
18 |
+
# Font for your app, choose between "sans serif", "serif", and "monospace"
|
19 |
+
font = "sans serif"
|
20 |
+
|
app.py
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
html = """
|
4 |
+
<style>
|
5 |
+
.gradient-text {
|
6 |
+
background: linear-gradient(45deg, #e73323, #9b5670, #4f7abd);
|
7 |
+
-webkit-background-clip: text;
|
8 |
+
background-clip: text;
|
9 |
+
color: transparent;
|
10 |
+
font-size: 3em;
|
11 |
+
font-weight: bold;
|
12 |
+
}
|
13 |
+
</style>
|
14 |
+
<div class="gradient-text">clinical-topics</div>
|
15 |
+
"""
|
16 |
+
# Render the HTML in the Streamlit app
|
17 |
+
st.markdown(html, unsafe_allow_html=True)
|
18 |
+
x = st.slider('Select a value')
|
19 |
+
st.write(x, 'squared is', x * x)
|
20 |
+
|