neuralleap commited on
Commit
ac6357c
·
verified ·
1 Parent(s): eb40ddc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,7 +10,7 @@ openai.api_key = os.getenv("OPENAI_API_KEY")
10
 
11
  # Prompt definition
12
  prompt = """
13
- You are analyzing a government employment application form from Namibia.
14
  Extract the following fields as JSON:
15
  - Position applied for
16
  - Office/Ministry
@@ -49,8 +49,8 @@ demo = gr.Interface(
49
  fn=process_image,
50
  inputs=gr.Image(type="pil"),
51
  outputs="textbox",
52
- title="Namibia Form Extractor",
53
- description="Upload a scanned Namibia government employment form to extract key fields."
54
  )
55
 
56
  if __name__ == "__main__":
 
10
 
11
  # Prompt definition
12
  prompt = """
13
+ You are analyzing a medical document or an application form from a patient.
14
  Extract the following fields as JSON:
15
  - Position applied for
16
  - Office/Ministry
 
49
  fn=process_image,
50
  inputs=gr.Image(type="pil"),
51
  outputs="textbox",
52
+ title="Healthelic Form Data Extractor (Doc Scaner)",
53
+ description="Upload a scanned medical form to extract key fields."
54
  )
55
 
56
  if __name__ == "__main__":