Anustup commited on
Commit
a17406f
·
verified ·
1 Parent(s): dffefa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -7
app.py CHANGED
@@ -15,13 +15,12 @@ def click_button():
15
 
16
  with st.sidebar:
17
  st.text("Play around this values")
18
- opacity = st.slider("Control opacity", min_value=0.0, max_value=1.0, value=1.0)
19
-
20
- product, generated, texture_correct = st.columns(3)
21
- with product:
22
- st.header("Input product texture patch")
23
- product_image = st.file_uploader("Patch of the Garment(Cut out an area from the garment)",
24
- type=["png", "jpg", "jpeg"])
25
  overlap_width = st.slider("Overlap Width", min_value=0, max_value=100, step=1, value=50)
26
  what_overlap = st.selectbox(
27
  'how you want to overlap?',
@@ -29,6 +28,13 @@ with product:
29
  index=None,
30
  placeholder="please choose an option"
31
  )
 
 
 
 
 
 
 
32
  if product_image:
33
  st.image(product_image)
34
 
 
15
 
16
  with st.sidebar:
17
  st.text("Play around this values")
18
+ choice = st.selectbox(
19
+ 'what are you looking for?',
20
+ ("Direct Texture", "Feathered Texture", "Direction Print"),
21
+ index=None,
22
+ placeholder="please choose an option"
23
+ )
 
24
  overlap_width = st.slider("Overlap Width", min_value=0, max_value=100, step=1, value=50)
25
  what_overlap = st.selectbox(
26
  'how you want to overlap?',
 
28
  index=None,
29
  placeholder="please choose an option"
30
  )
31
+ opacity = st.slider("Control opacity", min_value=0.0, max_value=1.0, value=1.0)
32
+
33
+ product, generated, texture_correct = st.columns(3)
34
+ with product:
35
+ st.header("Input product texture patch")
36
+ product_image = st.file_uploader("Patch of the Garment(Cut out an area from the garment)",
37
+ type=["png", "jpg", "jpeg"])
38
  if product_image:
39
  st.image(product_image)
40