Skip to content

Commit

Permalink
fix create page
Browse files Browse the repository at this point in the history
  • Loading branch information
art22m committed Apr 29, 2024
1 parent 1df0a0c commit bb53b59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/pages/create_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ def display_add_form():
title = st.text_input(label="Title*")
price = st.text_input(label="Price*")
description = st.text_area(label="Description")
picture = st.file_uploader(label="Upload the picture*")
picture = st.file_uploader(
label="Upload the picture*",
type=['png', 'jpg', 'jpeg', 'gif', 'heic'],
accept_multiple_files=False,
)

st.markdown("**required*")

Expand Down

0 comments on commit bb53b59

Please sign in to comment.