Update app.py
Browse files
app.py
CHANGED
@@ -46,13 +46,13 @@ if uploaded_file is not None:
|
|
46 |
st.image(image, caption="Uploaded Image.", use_column_width=True)
|
47 |
|
48 |
|
49 |
-
submit=st.button("
|
50 |
|
51 |
input_prompt = """
|
52 |
You are an expert in understanding business cards.
|
53 |
You will receive input images of business card & you will have to answer questions based on the input image.
|
54 |
You have to extract information from business card images and give correct tag to the output text
|
55 |
-
like person name, company name, occupation, address, telephone number,
|
56 |
"""
|
57 |
|
58 |
## If ask button is clicked
|
|
|
46 |
st.image(image, caption="Uploaded Image.", use_column_width=True)
|
47 |
|
48 |
|
49 |
+
submit=st.button("Submit")
|
50 |
|
51 |
input_prompt = """
|
52 |
You are an expert in understanding business cards.
|
53 |
You will receive input images of business card & you will have to answer questions based on the input image.
|
54 |
You have to extract information from business card images and give correct tag to the output text
|
55 |
+
like person name, company name, occupation, address, telephone number, mobile number, email, website, etc. Give output in json format.
|
56 |
"""
|
57 |
|
58 |
## If ask button is clicked
|