alirani commited on
Commit
56e76a4
·
1 Parent(s): ff3389c

add None index to select

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -26,7 +26,9 @@ prod_title = st.text_input('Type a title to generate a synopsis')
26
 
27
  option_genres = st.selectbox(
28
  'Select a genre to tailor your synopsis',
29
- ('Family', 'Romance', 'Comedy', 'Action', 'Documentary', 'Adventure', 'Drama', 'Mystery', 'Crime', 'Thriller', 'Science Fiction', 'History', 'Music', 'Western', 'Fantasy', 'TV Movie', 'Horror', 'Animation', 'Reality')
 
 
30
  )
31
 
32
  button_synopsis = st.button('Get synopsis')
 
26
 
27
  option_genres = st.selectbox(
28
  'Select a genre to tailor your synopsis',
29
+ ('Family', 'Romance', 'Comedy', 'Action', 'Documentary', 'Adventure', 'Drama', 'Mystery', 'Crime', 'Thriller', 'Science Fiction', 'History', 'Music', 'Western', 'Fantasy', 'TV Movie', 'Horror', 'Animation', 'Reality'),
30
+ index=None,
31
+ placeholder="Select genres..."
32
  )
33
 
34
  button_synopsis = st.button('Get synopsis')