AI Alt Text Generator is a web application built with Streamlit that allows you to upload multiple images, select the language for the alt text, and generate HTML code with the alt text. The results can be exported to an Excel file, making it ideal for enhancing image accessibility on websites.
- Upload multiple images
- Select the language for the alt text
- Generate HTML code with alt text for each image
- Export results to an Excel file
-
Clone the repository:
git clone https://github.com/yourusername/ai-alt-text-generator.git cd ai-alt-text-generator
-
Install the required packages:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run streamlit_app.py
-
Open your web browser and go to
http://localhost:8501
. -
Follow the instructions on the web interface:
- Enter your API key from AltText.ai.
- Select the language for the alt text.
- Upload images from your device.
- Generate the alt text and export the results to an Excel file.
- Fork the repository.
- Create a new branch:
git checkout -b my-feature-branch
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-feature-branch
- Open a pull request.
This project is licensed under the MIT License.
This application relies on the excellent AltText.ai API for generating alt text.