Vijish commited on
Commit
dfd1456
1 Parent(s): 7be0615

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,7 +68,7 @@ SIDEBAR_OPTION_UPLOAD_IMAGE = "Upload an Image"
68
  SIDEBAR_OPTIONS = [SIDEBAR_OPTION_DEMO_IMAGE, SIDEBAR_OPTION_UPLOAD_IMAGE]
69
 
70
  app_mode = st.sidebar.selectbox("Please select from the following", SIDEBAR_OPTIONS)
71
- photos = ["Tatoo.jpg"]
72
 
73
  if app_mode == SIDEBAR_OPTION_DEMO_IMAGE:
74
  st.sidebar.write(" ------ ")
@@ -83,7 +83,7 @@ if app_mode == SIDEBAR_OPTION_DEMO_IMAGE:
83
  elif app_mode == SIDEBAR_OPTION_UPLOAD_IMAGE:
84
  uploaded_file = st.file_uploader("Choose an image...")
85
  if uploaded_file is not None:
86
- pressed = st.sidebar.button('PoP')
87
  if pressed:
88
  st.empty()
89
  st.sidebar.write('Please wait for the magic to happen! This may take up to a minute.')
 
68
  SIDEBAR_OPTIONS = [SIDEBAR_OPTION_DEMO_IMAGE, SIDEBAR_OPTION_UPLOAD_IMAGE]
69
 
70
  app_mode = st.sidebar.selectbox("Please select from the following", SIDEBAR_OPTIONS)
71
+ photos = ["Tatoo.jpg","tattoo2.jpg"]
72
 
73
  if app_mode == SIDEBAR_OPTION_DEMO_IMAGE:
74
  st.sidebar.write(" ------ ")
 
83
  elif app_mode == SIDEBAR_OPTION_UPLOAD_IMAGE:
84
  uploaded_file = st.file_uploader("Choose an image...")
85
  if uploaded_file is not None:
86
+ pressed = st.sidebar.button('Predict')
87
  if pressed:
88
  st.empty()
89
  st.sidebar.write('Please wait for the magic to happen! This may take up to a minute.')