Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,9 +39,9 @@ if uploaded_file is not None:
|
|
| 39 |
image=Image.open(uploaded_file)
|
| 40 |
st.image(image,caption="Uploaded Image", use_column_width=True)
|
| 41 |
|
| 42 |
-
input = st.text_input("
|
| 43 |
|
| 44 |
-
submit=st.button("
|
| 45 |
|
| 46 |
input_prompt="""
|
| 47 |
You are an expert in understanding invoices. We will upload an image as an invoice
|
|
|
|
| 39 |
image=Image.open(uploaded_file)
|
| 40 |
st.image(image,caption="Uploaded Image", use_column_width=True)
|
| 41 |
|
| 42 |
+
input = st.text_input("Enter the question about Invoice image", key="input")
|
| 43 |
|
| 44 |
+
submit=st.button("Extract the information from invoice")
|
| 45 |
|
| 46 |
input_prompt="""
|
| 47 |
You are an expert in understanding invoices. We will upload an image as an invoice
|