Update app.py
Browse files
app.py
CHANGED
|
@@ -49,9 +49,10 @@ input=st.text_input("Input Prompt(optional): ",key="input")
|
|
| 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,
|
| 55 |
Constraints: Do not include missing information. Maintain appropriate data types (e.g., phone numbers as strings).
|
| 56 |
"""
|
| 57 |
|
|
|
|
| 49 |
submit=st.button("Submit")
|
| 50 |
|
| 51 |
input_prompt = """
|
| 52 |
+
You are an expert in understanding business cards.
|
| 53 |
Input: Image of a business card
|
| 54 |
Task: Extract and label the following information in JSON format:
|
| 55 |
+
Labels : person_name, company_name, occupation, contact_number, email addresse, website, address(street address, city, state, pincode), other_details (services, features, etc.)
|
| 56 |
Constraints: Do not include missing information. Maintain appropriate data types (e.g., phone numbers as strings).
|
| 57 |
"""
|
| 58 |
|