jayparmar0109 commited on
Commit
1f8a359
·
verified ·
1 Parent(s): f311539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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("Tell me about the image")
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 out put in json format.
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