PrabakaranC commited on
Commit
eb5bdea
1 Parent(s): 7b92747

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -63,7 +63,7 @@ docEmbedding = torch.Tensor(np.load("./prodBigDollEmbeddings.npy"))
63
  toggle = st.toggle('sample queries')
64
  with st.form("my_form"):
65
  if toggle:
66
- question_input = st.selectbox('select a query:',
67
  ('Pack of two assorted boxers, has two pockets, an elasticated waistbandDisclaimer: The final product delivered might vary in colour and prints from the display here.',
68
  'Beige self design shoulder bag, has a zip closure1 main compartment, 3 inner pocketsTwo Handles',
69
  'Set Content: 1 photo frameColour: Black and whiteFrame Pattern: SolidShape: SquareMaterial: Acrylic',
@@ -71,10 +71,11 @@ with st.form("my_form"):
71
  'Red & Black solid sweatshirt, has a hood, two pockets, long sleeves, zip closure, straight hem'))
72
 
73
  else:
74
- question_input = st.text_input("")
75
-
76
- submitted = st.form_submit_button("Submit")
77
  Matry_dim = st.slider('Matryoshka Dimension', 64, 768, 64)
 
 
78
 
79
 
80
  if submitted:
 
63
  toggle = st.toggle('sample queries')
64
  with st.form("my_form"):
65
  if toggle:
66
+ query_input = st.selectbox('select a query:',
67
  ('Pack of two assorted boxers, has two pockets, an elasticated waistbandDisclaimer: The final product delivered might vary in colour and prints from the display here.',
68
  'Beige self design shoulder bag, has a zip closure1 main compartment, 3 inner pocketsTwo Handles',
69
  'Set Content: 1 photo frameColour: Black and whiteFrame Pattern: SolidShape: SquareMaterial: Acrylic',
 
71
  'Red & Black solid sweatshirt, has a hood, two pockets, long sleeves, zip closure, straight hem'))
72
 
73
  else:
74
+ query_input = st.text_input("")
75
+
 
76
  Matry_dim = st.slider('Matryoshka Dimension', 64, 768, 64)
77
+ submitted = st.form_submit_button("Submit")
78
+
79
 
80
 
81
  if submitted: