Update app.py
Browse files
app.py
CHANGED
@@ -49,12 +49,10 @@ input=st.text_input("Input Prompt(optional): ",key="input")
|
|
49 |
submit=st.button("Submit")
|
50 |
|
51 |
input_prompt = """
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
If details are not available don't add tag in output.
|
57 |
-
Give output in json format.
|
58 |
"""
|
59 |
|
60 |
## If ask button is clicked
|
|
|
49 |
submit=st.button("Submit")
|
50 |
|
51 |
input_prompt = """
|
52 |
+
Input: Image of a business card
|
53 |
+
Task: Extract and label the following information in JSON format:
|
54 |
+
Labels : person_name, company_name, occupation, contact_details (list containing phone numbers, email addresses, website), address, other_details (dictionary for any additional information)
|
55 |
+
Constraints: Do not include missing information. Maintain appropriate data types (e.g., phone numbers as strings).
|
|
|
|
|
56 |
"""
|
57 |
|
58 |
## If ask button is clicked
|