AtomScott / gpt_arxiv_summary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpt_arxiv_summary

Run using the following command:

poetry run python run.py --pdf_path <path to pdf> --out_path <path to output directory>

Example.

poetry run python run.py --pdf_path ./papers/soccertrack.pdf --out_path ./outputs
poetry run python run.py --pdf_path ./papers/2111.12340.pdf --out_path ./outputs

Requirements

You need to have API keys for the following services:

  • OpenAI GPT
  • Deep L

Make sure to add them to the .env file like this,

OPENAI_API_KEY=<YOUR_OPENAI_API_KEY>
DEEPL_AUTH_KEY=<YOUR_DEEPL_AUTH_KEY>

The requirements are listed in pyproject.toml and can be installed using poetry install.

If it doesn't work

Write an issue and I'll try to fix it.

About

License:MIT License


Languages

Language:Python 100.0%