app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,18 @@ from io import BytesIO
|
|
13 |
# Streamlit Page Config
|
14 |
st.set_page_config(page_title="Schlager ContractAi", layout="wide")
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
# Authentication
|
17 |
AUTHORIZED_USERS = {
|
18 |
"[email protected]": "Pass.123",
|
|
|
13 |
# Streamlit Page Config
|
14 |
st.set_page_config(page_title="Schlager ContractAi", layout="wide")
|
15 |
|
16 |
+
# Hide Hugging Face UI Elements
|
17 |
+
hide_huggingface_css = """
|
18 |
+
<style>
|
19 |
+
header {visibility: hidden;} /* Hides the Hugging Face header */
|
20 |
+
footer {visibility: hidden;} /* Hides the footer */
|
21 |
+
.stDeployButton {display: none !important;} /* Hides the "Stop" and deployment buttons */
|
22 |
+
.stAppViewBlockContainer {padding-top: 0px !important;} /* Removes extra padding */
|
23 |
+
iframe {display: none !important;} /* Hides the Hugging Face iframe */
|
24 |
+
</style>
|
25 |
+
"""
|
26 |
+
st.markdown(hide_huggingface_css, unsafe_allow_html=True)
|
27 |
+
|
28 |
# Authentication
|
29 |
AUTHORIZED_USERS = {
|
30 |
"[email protected]": "Pass.123",
|