Spaces:
Sleeping
A newer version of the Streamlit SDK is available:
1.55.0
title: Free Text Humanizer
emoji: ✨
colorFrom: pink
colorTo: purple
sdk: streamlit
sdk_version: 1.36.0
app_file: app.py
pinned: false
Free Text Humanizer ✨
Rewrite text for a more natural, human-like tone using publicly available models.
This Streamlit application provides a user-friendly interface to "humanize" text by rewriting it using a powerful text-to-text generation model.
🚀 How to Use
- Paste your text: Enter the text you want to make more natural into the provided text area.
- Click "Humanize Text": The application will process your text and display a rewritten version.
💡 How It Works
The "Text Humanizer" uses a T5-base model, a powerful text-to-text transformer from Hugging Face. When you provide text, the model paraphrases it, aiming to:
- Vary sentence structures and vocabulary.
- Introduce more natural phrasing.
- Potentially make the text less predictable to language models.
Important Note: This tool is designed to rewrite text for improved naturalness. It does not guarantee that the output will bypass AI detection tools. The effectiveness of "humanization" is subjective and depends on the original text's characteristics and the specific AI detector being used.
⚠️ Important Considerations
- Rewriting, Not Undetectable AI: This tool focuses on making text sound more natural and less robotic. It is not designed to create content that is guaranteed to bypass AI detection systems, as that is an ongoing and complex challenge.
- Context and Nuance: While the model is powerful, it may not always capture the full nuance or specific stylistic elements of human writing, especially for highly creative or domain-specific content.
- Length Limitations: Very long texts might be truncated by the model's input limits, which could affect the coherence of the rewritten output.
⚙️ Installation (for Local Development)
To run this application locally, follow these steps:
- Clone the repository:
git clone [https://github.com/your-username/your-repo-name.git](https://github.com/your-username/your-repo-name.git) # Replace with your actual repo URL cd your-repo-name - Create a virtual environment (recommended):
python -m venv venv # On Windows: .\venv\Scripts\activate # On macOS/Linux: source venv/bin/activate - Install dependencies:
(Refer topip install -r requirements.txtrequirements.txtfor specific versions, especially fortorchif you need CUDA support.) - Run the Streamlit app:
streamlit run app.py
🤝 Contributing
Contributions are welcome! If you have suggestions for improvements, new features, or bug fixes, please feel free to:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name). - Make your changes.
- Commit your changes (
git commit -m 'Add new feature'). - Push to the branch (
git push origin feature/your-feature-name). - Open a Pull Request.
License
This project is open-source and available under the MIT License. (Assuming MIT, replace if different)
Made with ❤️ using Streamlit and Hugging Face Transformers.