Spaces:
Sleeping
Sleeping
Martin Ondrej commited on
Commit ·
7619f11
1
Parent(s): b56fb3d
Added columns for disease, medication and regime
Browse files- app/app.py +12 -2
app/app.py
CHANGED
|
@@ -14,11 +14,21 @@ SYMPTOMS = [
|
|
| 14 |
st.title("Welcome to a PocketDoctor")
|
| 15 |
|
| 16 |
options = st.multiselect(
|
| 17 |
-
label="",
|
| 18 |
options=SYMPTOMS,
|
| 19 |
placeholder="Start writing your symptoms and then pick from the dropdown list",
|
|
|
|
| 20 |
)
|
| 21 |
|
| 22 |
|
| 23 |
if st.button(label="Predict", use_container_width=True):
|
| 24 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
st.title("Welcome to a PocketDoctor")
|
| 15 |
|
| 16 |
options = st.multiselect(
|
| 17 |
+
label="Label",
|
| 18 |
options=SYMPTOMS,
|
| 19 |
placeholder="Start writing your symptoms and then pick from the dropdown list",
|
| 20 |
+
label_visibility="hidden",
|
| 21 |
)
|
| 22 |
|
| 23 |
|
| 24 |
if st.button(label="Predict", use_container_width=True):
|
| 25 |
+
col1, col2, col3 = st.columns(3)
|
| 26 |
+
with col1:
|
| 27 |
+
st.write("### :red[Disease]")
|
| 28 |
+
st.write("##### Influenza")
|
| 29 |
+
with col2:
|
| 30 |
+
st.write("### :green[Medication]")
|
| 31 |
+
st.write("##### Ibuprophene")
|
| 32 |
+
with col3:
|
| 33 |
+
st.write("### :blue[Regime]")
|
| 34 |
+
st.write("##### Rest")
|