Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,20 +102,19 @@ def page1():
|
|
| 102 |
st.image(image, use_column_width='always')
|
| 103 |
|
| 104 |
# Example query buttons
|
| 105 |
-
st.markdown("### Quick Questions")
|
| 106 |
col3, col4 = st.columns(2) # Create two columns for buttons
|
| 107 |
|
| 108 |
with col3:
|
| 109 |
-
if st.button("
|
| 110 |
-
st.session_state.prompt = "
|
| 111 |
-
if st.button("
|
| 112 |
-
st.session_state.prompt = "
|
| 113 |
|
| 114 |
with col4:
|
| 115 |
-
if st.button("
|
| 116 |
-
st.session_state.prompt = "
|
| 117 |
-
if st.button("
|
| 118 |
-
st.session_state.prompt = "
|
| 119 |
|
| 120 |
# Initialize prompt in session state if not exists
|
| 121 |
if 'prompt' not in st.session_state:
|
|
|
|
| 102 |
st.image(image, use_column_width='always')
|
| 103 |
|
| 104 |
# Example query buttons
|
|
|
|
| 105 |
col3, col4 = st.columns(2) # Create two columns for buttons
|
| 106 |
|
| 107 |
with col3:
|
| 108 |
+
if st.button("Plotte mir die Anzahl der Kliniken von 2010 bis 2020."):
|
| 109 |
+
st.session_state.prompt = "Plotte mir die Anzahl der Kliniken von 2010 bis 2020."
|
| 110 |
+
if st.button("Erstelle mir ein Bar Chart über die Bettenanzahl zwischen 1994 und 2002."):
|
| 111 |
+
st.session_state.prompt = "Erstelle mir ein Bar Chart über die Bettenanzahl zwischen 1994 und 2002."
|
| 112 |
|
| 113 |
with col4:
|
| 114 |
+
if st.button("Hat die Bettenanzahl zwischen 2018 und 2021 zu- oder abgenommen?"):
|
| 115 |
+
st.session_state.prompt = "Hat die Bettenanzahl zwischen 2018 und 2021 zu- oder abgenommen?"
|
| 116 |
+
if st.button("Wie hat sich die Fremdkapitalquote des Malteser Krankenhaus St. Franziskus-Hospital verändert?"):
|
| 117 |
+
st.session_state.prompt = "Wie hat sich die Fremdkapitalquote des Malteser Krankenhaus St. Franziskus-Hospital verändert?"
|
| 118 |
|
| 119 |
# Initialize prompt in session state if not exists
|
| 120 |
if 'prompt' not in st.session_state:
|