Spaces:
Running
title: Paraphrase Type Generation
emoji: π
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 4.37.2
app_file: app.py
pinned: false
license: mit
Paraphrase Generator with OpenAI and Gradio
This is a simple demo of a paraphrase generator using OpenAI's GPT-3 model and Gradio for the user interface. The application allows the user to input a sentence and select a type of paraphrase. The application then generates a paraphrase of the input sentence based on the selected type.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
You need Python 3.7 or later to run the application. You can have multiple Python versions (2.x and 3.x) installed on the same system without problems.
In Ubuntu, Mint and Debian you can install Python 3 like this:
$ sudo apt-get install python3 python3-pip
For other Linux flavors, macOS and Windows, packages are available at
Quick Start
Clone the repository:
$ git clone https://github.com/<your-github-username>/paraphrase-generator.git
$ cd paraphrase-generator
Install the requirements:
$ pip install -r requirements.txt
Run the application:
$ python app.py
How to Use
- Enter a sentence in the text box.
- Select a type of paraphrase from the dropdown menu.
- Click the "Submit" button.
- The application will generate a paraphrase of the input sentence based on the selected type.
Built With
- Python - The programming language used.
- Gradio - For creating the user interface.
- OpenAI - Used to generate the paraphrases.
Authors
- Jan Philip Wahle - Initial work - Your Github Username
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Hat tip to anyone whose code was used
- Inspiration
- etc