Streamlit Application for Text Redaction with Dialect and Tone Selection
MIT License
This Streamlit application leverages the OpenAI language model to redact input text and offers users the ability to select the dialect and tone of the redacted output. It is designed to be user-friendly and highly customizable.
Prerequisites Before running the application, ensure you have the following installed:
git clone https://github.com/your-username/streamlit-redaction-app.git
cd streamlit-redaction-app
pip install -r requirements.txt
export OPENAI_API_KEY='your-api-key-here'
streamlit run main.py
This command will launch the application in your default web browser.
Streamlit Cloud is a simple and free way to deploy your Streamlit applications. Follow these steps to deploy:
Sign up or log in to Streamlit Cloud:
Create a new app:
Configure your deployment:
Set environment variables:
Key: OPENAI_API_KEY
Value: your-api-key-here
Deploy the app: