dariush-bahrami commited on
Commit
b9340dd
·
1 Parent(s): fb4d50d

Update setup initial layout

Browse files
Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -1,4 +1,15 @@
1
  import streamlit as st
 
2
 
3
- x = st.slider("Select a value")
4
- st.write(x, "squared is", x * x)
 
 
 
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
+ import numpy as np
3
 
4
+ with st.container():
5
+ col1, col2 = st.columns(2)
6
+
7
+ with col1:
8
+ src_img = st.file_uploader("Choose Target Image", type=["png", "jpg"])
9
+ if src_img is not None:
10
+ st.image(src_img, width=256)
11
+
12
+ with col2:
13
+ dst_img = st.file_uploader("Choose Style Image", type=["png", "jpg"])
14
+ if dst_img is not None:
15
+ st.image(dst_img, width=256)