It's very simple: here are the solutions for the Stable Diffusion - Image to Prompts
-
Clone the repository or download the archive from github or using the following commands on the command line
$cmd $ git clone https://github.com/BEPb/Kaggle_Stable_Diffusion_Image_to_Prompts $ cd Kaggle_Stable_Diffusion_Image_to_Prompts
-
Create a Python virtual environment.
-
Install all necessary packages for our code to work using the following command:
pip install -r requirements.txt
⚪ If you want, you can experiment with this tool on the Hugging Face Space -- *Click*. Example of an output: