Skip to content

ElyasYassin/Image2PoemDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image2Poem Demo 🎨📜

(For details about training, visit: https://github.com/ElyasYassin/ImageToPoem )


Welcome to the Image2Poem Demo, a simple web app created as part of our Intro to Machine Learning class project. This application transforms images into poems, showcasing the intersection of creativity and AI. Follow the instructions below to set up and run the app.


🚀 Getting Started

  1. Clone the Repository

    git clone <repository_url>
    cd <repository_directory>
    
  2. Setup a virtual environment
    You can either use Anaconda or Venv to avoid dependency issues (Here's the documentation: https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html / https://docs.python.org/3/library/venv.html)

  3. Install Dependencies

    pip install -r requirements.txt
    
  4. Download Trained Models
    https://drive.google.com/file/d/1Oe385qiqWQBprXzI31MXeMBSkbr4D3Q5/view?usp=sharing

  5. Run Flask App

    flask --app app run
    
    

💡 Notes

  • Initial Load Time: The web app might take a few seconds to display upon launch.
  • Sound Generation Delay: Generating the audio for the poem will take around 20 seconds (You can look at the terminal for progress information)
  • Bug Alert: If the poem, sound, or image doesn’t update properly, try restarting the Flask app.

🎉 That's it!
Enjoy exploring the creative possibilities of Image2Poem!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published