Spaces:
Runtime error
Runtime error
changed position of style weight slider
Browse files
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 |
-
|
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)
|