pratham0011 commited on
Commit
818b7df
·
verified ·
1 Parent(s): 4871b88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -68,7 +68,8 @@ sample_prompts = [
68
  'What are the Customter details?' ,
69
  'What is the information about the Products?'
70
  ]
71
- sp.pills(sample_prompts, label="Sample Prompts", default_index=0)
 
72
 
73
  uploaded_file = st.file_uploader("Upload an Invoice Image 🖼️ or PDF 📄", type=["jpg", "jpeg", "png", "pdf"])
74
  input_query = st.text_input("Ask a question about the invoice", key="input")
 
68
  'What are the Customter details?' ,
69
  'What is the information about the Products?'
70
  ]
71
+ sp.pills(sample_prompts, clearable=True,
72
+ index=None)
73
 
74
  uploaded_file = st.file_uploader("Upload an Invoice Image 🖼️ or PDF 📄", type=["jpg", "jpeg", "png", "pdf"])
75
  input_query = st.text_input("Ask a question about the invoice", key="input")