Spaces:
Runtime error
Runtime error
Commit
·
b9340dd
1
Parent(s):
fb4d50d
Update setup initial layout
Browse files
app.py
CHANGED
@@ -1,4 +1,15 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)
|