Skip to content

fabraz/visuallaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Summarization and Image Generation App

This is a simple web application that uses OpenAI's GPT-3 API to summarize text input and generate an image that corresponds to the summary.

Getting Started

To get started with this application, you will need to have the following installed on your system:

  • Node.js (v14 or later)
  • Python (v3.7 or later)

To run the application, follow these steps:

  1. Clone the repository to your local machine.
  2. Install the necessary Node.js packages by running npm install.
  3. reate a virtual environment for the Python dependencies by running python -m venv .venv.
  4. Activate the virtual environment by running source .venv/bin/activate (on Linux/Mac) or venv\Scripts\activate (on Windows).
  5. Install the necessary Python packages by running pip install -r requirements.txt.
  6. Create an OpenAI API key by following the instructions here.
  7. Set the OPENAI_API_KEY environment variable to your API key.
  8. Start the development server by running npm start.
  9. Navigate to http:https://localhost:3000 in your web browser.

Usage

The application has three steps:

  1. Enter text to be summarized in the input field.
  2. Click "Next" to generate a summary and corresponding image.
  3. View the image and summary, and click "Previous" to return to the input field.

Contributing

If you'd like to contribute to this project, please open an issue or pull request on GitHub.

License

This project is licensed under the MIT License. See LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages