/paperday

Allows you to visualize the research paper in terms of content written by the user and AI.

Primary LanguageCSS

paperday

Manage your every research papers with paperday, A powerfull tool to visualize user written research paper with AI.

Environment Setup

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'}"}

Run

cd paperday
python3 app.py

visit http://localhost:5000/ in your browser

image

image

image