Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -164,19 +164,13 @@ def main():
|
|
164 |
|
165 |
if st.markdown('<button class="cloud-button">Was genau ist ein Belegarzt?</button>', unsafe_allow_html=True):
|
166 |
query = "Was genau ist ein Belegarzt?"
|
|
|
167 |
if cloud_button("Wofür wird die Alpha-ID verwendet?", "alpha_id"):
|
168 |
query = "Wofür wird die Alpha-ID verwendet?"
|
|
|
169 |
if st.button("Was sind die Vorteile des ambulanten operierens?"):
|
170 |
query = "Was sind die Vorteile des ambulanten operierens?"
|
171 |
-
|
172 |
-
query = "Was kann ich mit dem Prognose-Analyse Toll machen?"
|
173 |
-
if st.button("Was sagt mir die Farbe der Balken der Bevölkerungsentwicklung?"):
|
174 |
-
query = "Was sagt mir die Farbe der Balken der Bevölkerungsentwicklung?"
|
175 |
-
if st.button("Ich habe mein Meta Password vergessen, wie kann ich es zurücksetzen?"):
|
176 |
-
query = ("Ich habe mein Meta Password vergessen, wie kann ich es zurücksetzen?")
|
177 |
-
if cloud_button("Cloud Button Example"):
|
178 |
-
st.write("Cloud button was clicked!")
|
179 |
-
|
180 |
|
181 |
if st.button("Ask") or (not st.session_state['chat_history'] and query) or (st.session_state['chat_history'] and query != st.session_state['chat_history'][-1][1]):
|
182 |
st.session_state['chat_history'].append(("User", query, "new"))
|
|
|
164 |
|
165 |
if st.markdown('<button class="cloud-button">Was genau ist ein Belegarzt?</button>', unsafe_allow_html=True):
|
166 |
query = "Was genau ist ein Belegarzt?"
|
167 |
+
|
168 |
if cloud_button("Wofür wird die Alpha-ID verwendet?", "alpha_id"):
|
169 |
query = "Wofür wird die Alpha-ID verwendet?"
|
170 |
+
|
171 |
if st.button("Was sind die Vorteile des ambulanten operierens?"):
|
172 |
query = "Was sind die Vorteile des ambulanten operierens?"
|
173 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
|
175 |
if st.button("Ask") or (not st.session_state['chat_history'] and query) or (st.session_state['chat_history'] and query != st.session_state['chat_history'][-1][1]):
|
176 |
st.session_state['chat_history'].append(("User", query, "new"))
|