Skip to content

This tool allows you to upload multiple images, select the language for the alt text, and generate HTML code with the alt text.

Notifications You must be signed in to change notification settings

nurdigitalmarketing/ai-alt-text-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Alt Text Generator

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.

Features

  • 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

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/ai-alt-text-generator.git
    cd ai-alt-text-generator
  2. Install the required packages:

    pip install -r requirements.txt

Usage

  1. Run the Streamlit app:

    streamlit run streamlit_app.py
  2. Open your web browser and go to http://localhost:8501.

  3. 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.

Dependencies

Contributing

  1. Fork the repository.
  2. Create a new branch: git checkout -b my-feature-branch
  3. Make your changes and commit them: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-feature-branch
  5. Open a pull request.

License

This project is licensed under the MIT License.

Acknowledgments

This application relies on the excellent AltText.ai API for generating alt text.

About

This tool allows you to upload multiple images, select the language for the alt text, and generate HTML code with the alt text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages