Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -575,7 +575,7 @@ def page4():
|
|
| 575 |
|
| 576 |
|
| 577 |
contact_form = """
|
| 578 |
-
<form action="https://formsubmit.co/anne.demond@
|
| 579 |
<input type="hidden" name="_captcha" value="false">
|
| 580 |
<input type="text" name="name" placeholder="Your name" required>
|
| 581 |
<input type="email" name="email" placeholder="Your email" required>
|
|
@@ -587,12 +587,12 @@ def page4():
|
|
| 587 |
st.markdown(contact_form, unsafe_allow_html=True)
|
| 588 |
|
| 589 |
# Use Local CSS File
|
| 590 |
-
|
| 591 |
-
|
| 592 |
-
|
| 593 |
|
| 594 |
|
| 595 |
-
|
| 596 |
|
| 597 |
except Exception as e:
|
| 598 |
st.error(f"Upsi, an unexpected error occurred: {e}")
|
|
|
|
| 575 |
|
| 576 |
|
| 577 |
contact_form = """
|
| 578 |
+
<form action="https://formsubmit.co/anne.demond@googlemail.com" method="POST">
|
| 579 |
<input type="hidden" name="_captcha" value="false">
|
| 580 |
<input type="text" name="name" placeholder="Your name" required>
|
| 581 |
<input type="email" name="email" placeholder="Your email" required>
|
|
|
|
| 587 |
st.markdown(contact_form, unsafe_allow_html=True)
|
| 588 |
|
| 589 |
# Use Local CSS File
|
| 590 |
+
def local_css(file_name):
|
| 591 |
+
with open(file_name) as f:
|
| 592 |
+
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 593 |
|
| 594 |
|
| 595 |
+
local_css("style.css")
|
| 596 |
|
| 597 |
except Exception as e:
|
| 598 |
st.error(f"Upsi, an unexpected error occurred: {e}")
|