jayparmar0109 commited on
Commit
01463fe
·
verified ·
1 Parent(s): b0c0f2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,7 +4,6 @@ import pathlib
4
  import textwrap
5
  from PIL import Image
6
 
7
-
8
  import google.generativeai as genai
9
 
10
  genai.configure(api_key='AIzaSyCeNgXfZx0kJ736XFVtxXxev_RdscB0i5s')
@@ -53,7 +52,7 @@ input_prompt = """
53
  You are an expert in understanding business cards.
54
  You will receive input images of business card & you will have to answer questions based on the input image.
55
  You have to extract information from business card images and give correct tag to the output text
56
- like person name, company name, occupation, address, phone/telephone number, email, website, etc. Give out put in json format.
57
  """
58
 
59
  ## If ask button is clicked
 
4
  import textwrap
5
  from PIL import Image
6
 
 
7
  import google.generativeai as genai
8
 
9
  genai.configure(api_key='AIzaSyCeNgXfZx0kJ736XFVtxXxev_RdscB0i5s')
 
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, email, website, etc. Give out put in json format.
56
  """
57
 
58
  ## If ask button is clicked