Spaces:
Runtime error
Runtime error
Update app.py
Browse files14 unmodified lines151617181920212223242526271 unmodified line29303132333414 unmodified lineswith st.sidebar:st.text("Play around this values")opacity = st.slider("Control opacity", min_value=0.0, max_value=1.0, value=1.0)product, generated, texture_correct = st.columns(3)with product:st.header("Input product texture patch")product_image = st.file_uploader("Patch of the Garment(Cut out an area from the garment)",type=["png", "jpg", "jpeg"])overlap_width = st.slider("Overlap Width", min_value=0, max_value=100, step=1, value=50)what_overlap = st.selectbox('how you want to overlap?',1 unmodified lineindex=None,placeholder="please choose an option")if product_image:st.image(product_image)14 unmodified lines1516171819202122232425261 unmodified line2829303132333435363738394014 unmodified lineswith st.sidebar:st.text("Play around this values")choice = st.selectbox('what are you looking for?',("Direct Texture", "Feathered Texture", "Direction Print"),index=None,placeholder="please choose an option")overlap_width = st.slider("Overlap Width", min_value=0, max_value=100, step=1, value=50)what_overlap = st.selectbox('how you want to overlap?',1 unmodified lineindex=None,placeholder="please choose an option")opacity = st.slider("Control opacity", min_value=0.0, max_value=1.0, value=1.0)product, generated, texture_correct = st.columns(3)with product:st.header("Input product texture patch")product_image = st.file_uploader("Patch of the Garment(Cut out an area from the garment)",type=["png", "jpg", "jpeg"])if product_image:st.image(product_image)
app.py+13-7