pratham0011 commited on
Commit
05f8939
ยท
verified ยท
1 Parent(s): 2890aad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -55,8 +55,8 @@ def input_file_setup(uploaded_file):
55
  raise FileNotFoundError("File not found")
56
 
57
  st.set_page_config(page_title="Invoice Extractor", page_icon="๐Ÿ”ฎ")
58
- st.title("Invoice Extractor using LLM")
59
- st.write("Upload your invoice and we will give you all the information we can based on your query")
60
 
61
  input_query = st.text_input("Ask a question", key="input")
62
  uploaded_file = st.file_uploader("Upload an image or PDF", type=["jpg", "jpeg", "png", "pdf"])
@@ -77,5 +77,5 @@ You are an expert in understanding invoices. We will show you an invoice and you
77
  if submit:
78
  file_data = input_file_setup(uploaded_file)
79
  response = get_gemini_response(input_prompt, file_data, input_query)
80
- st.subheader("Response:")
81
  st.write(response)
 
55
  raise FileNotFoundError("File not found")
56
 
57
  st.set_page_config(page_title="Invoice Extractor", page_icon="๐Ÿ”ฎ")
58
+ st.title("Invoice Extractor")
59
+ st.write("Upload your invoice๐Ÿ“ƒ")
60
 
61
  input_query = st.text_input("Ask a question", key="input")
62
  uploaded_file = st.file_uploader("Upload an image or PDF", type=["jpg", "jpeg", "png", "pdf"])
 
77
  if submit:
78
  file_data = input_file_setup(uploaded_file)
79
  response = get_gemini_response(input_prompt, file_data, input_query)
80
+ st.subheader("Response๐Ÿค–:")
81
  st.write(response)