guidel commited on
Commit
254ab54
·
1 Parent(s): 418a3de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -43,8 +43,9 @@ if picture_file is not None:
43
  st.image(image, caption='Please upload an image of the damage', use_column_width=True)
44
 
45
  #image
46
- options = st.text_input(label="Please enter the classes", value="")
47
- options = list(options)
 
48
 
49
  # button to launch compute
50
  if st.button("Compute"):
 
43
  st.image(image, caption='Please upload an image of the damage', use_column_width=True)
44
 
45
  #image
46
+ default_options = ['black', 'white', 'gray', 'red', 'blue', 'silver', 'red', 'brown', 'green', 'orange', 'beige', 'pruple', 'gold', 'yellow']
47
+ options = st.text_input(label="Please enter the classes", value=default_options)
48
+ #options = list(options)
49
 
50
  # button to launch compute
51
  if st.button("Compute"):