Spaces:
Build error

COULIBALY BOURAHIMA commited on
Commit
ff39d46
·
1 Parent(s): fa8b2f8

suppression des hellos

Browse files
Files changed (2) hide show
  1. App/class_input_box/input_box.py +2 -2
  2. app.py +0 -5
App/class_input_box/input_box.py CHANGED
@@ -32,11 +32,11 @@ class InputsBox:
32
  return valid.split(";")
33
 
34
  def get_product_id(self) -> str:
35
- self.product_id = st.selectbox("product_id", options=self.columns, key="product_id")
36
  return self.product_id
37
 
38
  def get_class_id(self) -> str:
39
- self.class_id = st.selectbox("class_id", options=self.columns, key="class_id")
40
  return self.class_id
41
 
42
  def get_conditions(self):
 
32
  return valid.split(";")
33
 
34
  def get_product_id(self) -> str:
35
+ self.product_id = st.selectbox("product_id (BARCODE)", options=self.columns, key="product_id")
36
  return self.product_id
37
 
38
  def get_class_id(self) -> str:
39
+ self.class_id = st.selectbox("class_id (WW_CLASS_KEY)", options=self.columns, key="class_id")
40
  return self.class_id
41
 
42
  def get_conditions(self):
app.py CHANGED
@@ -207,9 +207,4 @@ if __name__ == "__main__":
207
  lien_html = f'<a href="{lien_url}">{lien_label}</a>'
208
 
209
  st.sidebar.markdown(lien_html, unsafe_allow_html=True)
210
- st.toast("Hello")
211
- time.sleep(.5)
212
- st.toast('An example of input is on the left')
213
- time.sleep(.5)
214
- st.toast('Holà!', icon='🎉')
215
  app()
 
207
  lien_html = f'<a href="{lien_url}">{lien_label}</a>'
208
 
209
  st.sidebar.markdown(lien_html, unsafe_allow_html=True)
 
 
 
 
 
210
  app()