Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ def cloud_button(label, key=None):
|
|
92 |
}};
|
93 |
</script>
|
94 |
"""
|
95 |
-
|
96 |
|
97 |
def spaced_cloud_button(label):
|
98 |
cloud_button_html = f"""
|
@@ -190,7 +190,7 @@ def main():
|
|
190 |
if pdf_path is not None:
|
191 |
query = st.text_input("Ask questions about your PDF file (in any preferred language):")
|
192 |
|
193 |
-
|
194 |
query = "Was genau ist ein Belegarzt?"
|
195 |
if spaced_cloud_button("Wofür wird die Alpha-ID verwendet?"):
|
196 |
query = "Wofür wird die Alpha-ID verwendet?"
|
|
|
92 |
}};
|
93 |
</script>
|
94 |
"""
|
95 |
+
return cloud_button_html)
|
96 |
|
97 |
def spaced_cloud_button(label):
|
98 |
cloud_button_html = f"""
|
|
|
190 |
if pdf_path is not None:
|
191 |
query = st.text_input("Ask questions about your PDF file (in any preferred language):")
|
192 |
|
193 |
+
cloud_button_html = cloud_button("Was genau ist ein Belegarzt?"):
|
194 |
query = "Was genau ist ein Belegarzt?"
|
195 |
if spaced_cloud_button("Wofür wird die Alpha-ID verwendet?"):
|
196 |
query = "Wofür wird die Alpha-ID verwendet?"
|