Alexander Seifert
commited on
Commit
·
e89c6c7
1
Parent(s):
4ee19c0
embed presentation
Browse files
app.py
CHANGED
@@ -8,6 +8,8 @@ BOOKSHINE_HOST = 'https://api.bookshine.at'
|
|
8 |
BOOKSHINE_PORT = '4690'
|
9 |
PASSWORDS = [p.lower() for p in os.environ.get("PASSWORDS", "").split(",")]
|
10 |
|
|
|
|
|
11 |
def password_is_correct(password):
|
12 |
return password.lower() in PASSWORDS
|
13 |
|
@@ -75,7 +77,13 @@ def process_pdf(uploaded_file):
|
|
75 |
|
76 |
|
77 |
def main():
|
78 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
|
80 |
if "in_progress" not in st.session_state:
|
81 |
st.session_state.in_progress = False
|
|
|
8 |
BOOKSHINE_PORT = '4690'
|
9 |
PASSWORDS = [p.lower() for p in os.environ.get("PASSWORDS", "").split(",")]
|
10 |
|
11 |
+
PITCH_EMBED = """<iframe src="https://pitch.com/embed/38e99a83-1de6-4866-a515-dd3954c473e5" allow="fullscreen" allowfullscreen="" width="560" height="368" style="border:0"></iframe>"""
|
12 |
+
|
13 |
def password_is_correct(password):
|
14 |
return password.lower() in PASSWORDS
|
15 |
|
|
|
77 |
|
78 |
|
79 |
def main():
|
80 |
+
st.write("<div><span style='margin-left: 250px; font-size: 5em; color: black;'>❧</span> </div>", unsafe_allow_html=True)
|
81 |
+
|
82 |
+
st.write(PITCH_EMBED, unsafe_allow_html=True)
|
83 |
+
|
84 |
+
st.markdown("<br/>", unsafe_allow_html=True)
|
85 |
+
|
86 |
+
st.subheader('Überzeugen Sie sich selbst')
|
87 |
|
88 |
if "in_progress" not in st.session_state:
|
89 |
st.session_state.in_progress = False
|