This project presents a Flask-based web application with a focus on user interface and optional AI integration. The primary command, make run
, initiates the web server and provides access to the core functionalities. Advanced users can optionally enhance the application by training a model or updating it with the best version.
- Python 3.x
- Flask
- Other dependencies in
requirements.txt
To quickly start the web application:
git clone git@github.com:ucbepic/pdf_parser.git
cd pdf_parser
make install
make run
This command sets up the environment and launches the Flask web server, ready for use.
For privacy and organization, this application processes PDFs stored in a specific directory: app/static/private/pdfs
. This directory is excluded from version control via .gitignore
to ensure privacy and data security.
For users interested in AI functionalities:
- Train the model with:
make train
- Update the repository with the best model using:
This command enhances the application's AI capabilities by using the most effective model.
make model.pth
Remove generated files and clean up:
make clean
run.py
: Flask application entry point.get_best_ckpt.py
: Script to generatemodel.pth
.Makefile
: Manages the build, run, and AI integration process.
Contributions are welcome. Please use standard fork-and-pull request workflow for any contributions.
This project is licensed under the Apache License, Version 2.0