This Streamlit app utilizes the GenerativeAI library and the Gemini model to identify and correct spelling errors within your text. Features
- Identifies misspelled words and suggests corrections.
- Highlights misspelled words in red within the original text.
- Displays the corrected text with the replaced words highlighted in green.
- Provides a user-friendly interface for easy interaction.
- Streamlit: For building the interactive web application.
- GenerativeAI: For accessing and utilizing the Gemini language model.
- Google Generative AI: Provides access to the Gemini model via API.
Clone or download this repository.
- Install the required libraries using requirements.txt
streamlit
andgoogle-generativeai
. - Obtain a Google Generative AI API key and replace
YOUR_API_KEY
in the code with your key. - Run the app using
streamlit run streamlit_app.py
. - Enter your text in the text area and click "Check Spelling".
This app is for demonstration purposes only. The accuracy of the spell correction depends on the GenerativeAI model and may not always be perfect.