Spaces:
Runtime error
Runtime error
Commit
·
772b007
1
Parent(s):
b3120c1
Update columns.
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def main():
|
|
29 |
|
30 |
st.title("Neural Style-Transfer App")
|
31 |
st.write("`neural-style` is a pre-trained model from Tensorflow-Hub that allows you to apply styles to images and create pretty art. This app allows you to upload your own content or style images to create some funky effects. We provide some example styles which you can use.")
|
32 |
-
col1, col2 = st.
|
33 |
content_file = st.sidebar.file_uploader('Upload Image', type=['jpg', 'jpeg', 'png'])
|
34 |
style_file = st.sidebar.file_uploader('Upload Style', type=['jpg', 'jpeg', 'png'])
|
35 |
style_options = st.sidebar.selectbox(label='Example Styles', options=os.listdir('assets/template_styles'))
|
|
|
29 |
|
30 |
st.title("Neural Style-Transfer App")
|
31 |
st.write("`neural-style` is a pre-trained model from Tensorflow-Hub that allows you to apply styles to images and create pretty art. This app allows you to upload your own content or style images to create some funky effects. We provide some example styles which you can use.")
|
32 |
+
col1, col2 = st.columns(2)
|
33 |
content_file = st.sidebar.file_uploader('Upload Image', type=['jpg', 'jpeg', 'png'])
|
34 |
style_file = st.sidebar.file_uploader('Upload Style', type=['jpg', 'jpeg', 'png'])
|
35 |
style_options = st.sidebar.selectbox(label='Example Styles', options=os.listdir('assets/template_styles'))
|