Spaces:
Sleeping
Preeti to Unicode Translator
This Streamlit app translates text written in Preeti font to Unicode readable format. It supports both plain text input and PDF file uploads.
Features
- Translate Preeti font text to Unicode
- Support for both plain text input and PDF file uploads
- Easy-to-use web interface powered by Streamlit
Installation
Clone this repository:
git clone https://huggingface.co/rockerritesh/preeti-unicode cd preeti-unicode
Install the required dependencies:
pip install -r requirements.txt
Usage
Run the Streamlit app:
streamlit run app.py
Open your web browser and navigate to the URL displayed in the terminal (usually
http://localhost:8501
).Use the app:
- For text input: Enter or paste your Preeti font text in the text area and click "Translate".
- For PDF input: Upload your PDF file containing Preeti font text and click "Translate PDF".
View the translated Unicode text in the output area.
Dependencies
- streamlit
- PyPDF2
How it works
This app uses a mapping of Preeti font characters to their Unicode equivalents. When text is input or a PDF is uploaded, the app processes the content, replacing Preeti characters with their Unicode counterparts.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the MIT file for details.
Acknowledgements
- Streamlit for the web app framework
- PyPDF2 for PDF processing
- (Add any other acknowledgements)
Contact
If you have any questions or feedback, please open an issue on this GitHub repository.