Upyaya commited on
Commit
f4c5a56
1 Parent(s): 1faeb5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -42,13 +42,13 @@ def main():
42
  #init_model()
43
 
44
  #Select few sample images for the catagory of cloths
45
- option = st.selectbox('Select from sample an images', ('cap', 'tee', 'dress'), index = -1)
46
- st.text("OR")
47
  file_name = st.file_uploader("Upload an image")
48
 
49
- if file_name is None and option is not None:
50
 
51
- file_name = os.path.join(sample_img_path, option)
52
 
53
  if file_name is not None:
54
 
 
42
  #init_model()
43
 
44
  #Select few sample images for the catagory of cloths
45
+ #option = st.selectbox('Select from sample an images', ('cap', 'tee', 'dress'), index = -1)
46
+ #st.text("OR")
47
  file_name = st.file_uploader("Upload an image")
48
 
49
+ #if file_name is None and option is not None:
50
 
51
+ # file_name = os.path.join(sample_img_path, option)
52
 
53
  if file_name is not None:
54