GithubHelp home page GithubHelp logo

bitalov / gptanki Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 10 KB

GPTAnki is a very basic web application that uses OpenAI's GPT-3.5 or GPT-4 to generate Anki flashcards from a given PDF file.

Home Page: https://gptanki.onrender.com/

Python 100.00%
gpt openapi anki anki-cards anki-flashcards flashcards gpt35turbo gpt4 python python3

gptanki's Introduction

GPTAnki

GPTAnki is a simple web application that uses OpenAI's GPT-3.5 or GPT-4 to generate Anki flashcards from a given PDF file. The application uses Streamlit for the frontend and PyPDF2 for PDF text extraction.

Table of Contents

Requirements

To set up the environment for GPTAnki, you'll need to install the required Python libraries. You can do this by running the following command:

pip install -r requirements.txt

The requirements.txt file should contain the following:

streamlit
PyPDF2
openai

Setup

  1. Clone the repository:
git clone https://github.com/username/GPTAnki.git
  1. Navigate to the project directory:
cd GPTAnki
  1. Install the required Python libraries:
pip install -r requirements.txt
  1. Run the Streamlit app:
streamlit run AnkiGPT.py

The application should now be running on your local machine at http://localhost:8501/.

Deployment

To deploy the application, you can use a platform like Render. Follow these steps:

  1. Create an account on Render and sign in.
  2. Click on the "New" button in the dashboard and choose "Web Service".
  3. Connect your GitHub account and select the GPTAnki repository.
  4. In the "Environment" section, choose "Python" and set the "Build command" to:
pip install -r requirements.txt
  1. Set the "Start command" to:
streamlit run AnkiGPT.py
  1. Click on the "Create Web Service" button to deploy the application.

The application should now be deployed and accessible via the provided URL.

Try it Online

You can try the GPTAnki application online by visiting the following link:

https://gptanki.onrender.com/

gptanki's People

Contributors

bitalov avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

gptanki's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.