Skip to content

Commit 9952534

Browse files
committed
Updated Frontend
1 parent d6e9092 commit 9952534

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

frontend.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,18 @@ def login_page():
6868

6969

7070
def upload_page():
71+
# 👇 CSS to hide the "Limit 200MB" text
72+
st.markdown("""
73+
<style>
74+
[data-testid="stFileUploader"] section > input + div {
75+
display: none;
76+
}
77+
/* Alternative selector if the above doesn't catch it */
78+
[data-testid="stFileUploader"] small {
79+
display: none;
80+
}
81+
</style>""", unsafe_allow_html=True)
82+
7183
st.title("📸 Share Something")
7284

7385
uploaded_file = st.file_uploader("Choose media", type=['png', 'jpg', 'jpeg', 'mp4', 'avi', 'mov', 'mkv', 'webm'])

0 commit comments

Comments
 (0)