Skip to content

This repository contains my team's internship project work at Flexbox Technologies. We have developed a system that fills the patient details form automatically with the patient data extracted from pdf file.

License

Notifications You must be signed in to change notification settings

ShubhRanpara/Auto-Filler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Filler

This is a Python project that helps you to read out important details of patients from PDF, PPTx or DOCx file that you have uploaded and it generates the output which helps to fill the form automatically. The project is built using Python and Streamlit framework.

Follow the below instructions to run the application

Installation

  1. First of all we have to create virtual environment to isolate our project dependencies from the system dependencies.
pip install virtualenv
  1. After installing virtualenv library we will create virtual environment named "env".
python3 -m venv env
    or
virtualenv env
  1. Activate "env" using following command.
.\env\Scripts\Activate.ps1
  1. Install important dependencies required for our project using this command.
pip install -r requirements.txt
  1. Add your HUGGINGFACEHUB_API_TOKEN in .env file and check the file name must be .env otherwise rename the file to .env. Also don't forget to update the file paths where it is mentioned.

  2. Once you have installed the required dependencies, you can run the project using Streamlit. Streamlit provides an easy way to create interactive web applications in Python.

To start the application, run the following command:

python -m streamlit run app.py
    or
streamlit run app.py
  1. After opening the Streamlit web app, you can upload your PDF file and the LLM will generate the answers based on our predefined question set. These answers can be seen directly on the Streamlit web page.

  2. Here are some screenshots of the result.

Streamlit Dashboard

Response and form filling

Key errors faced while installation and running of the project :

If any dependency is not working properly than update it with it's latest verson.

If any permission related error occurs than use powershall terminal as administrator and run the command :

Set-ExecutionPolicy unrestricted

If you get AXIOS 403 error, run streamlit app with this command

streamlit run app.py --server.enableXsrfProtection false

About

This repository contains my team's internship project work at Flexbox Technologies. We have developed a system that fills the patient details form automatically with the patient data extracted from pdf file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages