Manage your every research papers with paperday, A powerfull tool to visualize user written research paper with AI.
Library Requirements
- flask
- numpy
- scikit-image
- image-quality
- pymupdf
Code Configuration
git clone https://shah-codex/paperday.git
cd paperday
The app.py
is the entry point to the project. Running it will run the server on localhost:5000
.
paperday
\
+----> app.py [ Main entry point server for flask api. ]
+----> models/ [ The ML algorithm files. ]
+----> templates/ [ All UI view files html. ]
+----> {keys/} [ API key a folder need to be created. ]
Create the keys module and initialize the API_KEY
and header
containing the API link and header token for calling the third-party API.
mkdir keys && touch keys/keys.py
The keys.py
file will have the content as below.
API_URL = "https://api-inference.huggingface.co/models/mrm8488/xlm-roberta-base-finetuned-HC3-mix"
headers = {"Authorization": f"Bearer {'YOUR_TOKEN_HERE'}"}
cd paperday
python3 app.py
visit http://localhost:5000/ in your browser