A newer version of the Gradio SDK is available:
6.5.1
metadata
title: AUTOFILL FORM
emoji: π»
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
short_description: IT IS OCR+GEMINI PIPELINE FOR AUTOMATIC FORMFILLING
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
π§ AutoFill Form Extractor
This app extracts structured information from documents (like PAN Card forms) using:
- OCR (pytesseract) for text extraction
- Gemini 1.5 Flash for intelligent field parsing
π How to Use
- Upload a PDF document (e.g., PAN Card)
- Select the form type
- View the extracted JSON output
π§© Tech Stack
- Python + Gradio
- Google Gemini API
- Tesseract OCR
- pdf2image
π Environment Variable
Set your Gemini API key in Hugging Face Space β Settings β Variables and Secrets: