Skip to content

An app that uses Hugging Face AI models together with OpenAI & LangChain, to generate text from an image, which then generates audio from the text

License

Notifications You must be signed in to change notification settings

semaj87/image-to-text-to-speech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generating text & audio from images

An app that uses Hugging Face AI models to generate text from an image, which then generates audio from the text.

This application uses three steps to complete the above-mentioned task:

  • Image to text model to let the machine understand the scenario based upon the content of the photo
  • Use an LLM to generate a short story based on the text that was generated in step 1
  • Lastly, we will use a text to speech model to generate audio for the story from the LLM

System Design

system-design

Models

Requirements

python -m pip install -r requirements.txt

Run App Locally

source build.sh

Run App with Streamlit Cloud

Launch App

License

Distributed under the MIT License. See LICENSE for more information.

About

An app that uses Hugging Face AI models together with OpenAI & LangChain, to generate text from an image, which then generates audio from the text

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published