pratham0011 commited on
Commit
3d61e63
ยท
verified ยท
1 Parent(s): 818b7df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -68,8 +68,11 @@ sample_prompts = [
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")
 
68
  'What are the Customter details?' ,
69
  'What is the information about the Products?'
70
  ]
71
+ sp.pills(sample_prompts,
72
+ options=Iterable[sample_prompts],
73
+ clearable=True,
74
+ index=None
75
+ )
76
 
77
  uploaded_file = st.file_uploader("Upload an Invoice Image ๐Ÿ–ผ๏ธ or PDF ๐Ÿ“„", type=["jpg", "jpeg", "png", "pdf"])
78
  input_query = st.text_input("Ask a question about the invoice", key="input")