Anne31415 commited on
Commit
3a74246
·
1 Parent(s): e2cb1fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -157,17 +157,15 @@ def main():
157
  if pdf_path is not None:
158
  query = st.text_input("Ask questions about your PDF file (in any preferred language):")
159
 
160
- if cloud_button("Was genau ist ein Belegarzt?", "belegarzt_button"):
161
  query = "Was genau ist ein Belegarzt?"
162
- st.session_state["belegarzt_button"] = False # Reset the button state
163
 
164
- if cloud_button("Wofür wird die Alpha-ID verwendet?", "alpha_id_button"):
165
  query = "Wofür wird die Alpha-ID verwendet?"
166
- st.session_state["alpha_id_button"] = False # Reset the button state
167
 
168
- if st.button("Was sind die Vorteile des ambulanten operierens?"):
169
  query = "Was sind die Vorteile des ambulanten operierens?"
170
-
171
 
172
 
173
  # For default styled buttons, use st.button
 
157
  if pdf_path is not None:
158
  query = st.text_input("Ask questions about your PDF file (in any preferred language):")
159
 
160
+ if st.button("Was genau ist ein Belegarzt?", key="button1"):
161
  query = "Was genau ist ein Belegarzt?"
 
162
 
163
+ if st.button("Wofür wird die Alpha-ID verwendet?", key="button2"):
164
  query = "Wofür wird die Alpha-ID verwendet?"
 
165
 
166
+ if st.button("Was sind die Vorteile des ambulanten operierens?", key="button3"):
167
  query = "Was sind die Vorteile des ambulanten operierens?"
168
+
169
 
170
 
171
  # For default styled buttons, use st.button