Owos commited on
Commit
474bc61
1 Parent(s): 7fdea0b

changed position of style weight slider

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -27,12 +27,14 @@ st.sidebar.markdown('<p class="font">Afrodreams.AI</p>', unsafe_allow_html=True)
27
  with st.sidebar.expander("About the App"):
28
  st.write("""
29
  This app takes in your image and styles it with a unique african art.""")
30
- # add slider to side bar
31
- style_weight = st.sidebar.slider("Select Style Weight", min_value=10, max_value=100, value=12)
32
 
33
  #Add file uploader to allow users to upload photos
34
  uploaded_file = st.file_uploader("", type=['jpg','png','jpeg'])
35
 
 
 
 
36
  #Add 'before' and 'after' columns
37
  if uploaded_file is not None:
38
  image = Image.open(uploaded_file)
 
27
  with st.sidebar.expander("About the App"):
28
  st.write("""
29
  This app takes in your image and styles it with a unique african art.""")
30
+
 
31
 
32
  #Add file uploader to allow users to upload photos
33
  uploaded_file = st.file_uploader("", type=['jpg','png','jpeg'])
34
 
35
+ # add slider to side bar
36
+ style_weight = st.slider("Select Style Weight", min_value=10, max_value=100, value=12)
37
+
38
  #Add 'before' and 'after' columns
39
  if uploaded_file is not None:
40
  image = Image.open(uploaded_file)