A Jupyter notebook for interactive image generation using Janus-Pro-7B. So run the cell to clone their repo (see the .ipynb file) and then just copy and paste the contents of the .py file in the next cell of the Colab and make sure to have your HF_TOKEN set as a secret in your Colab notebook. Enjoy!
- A100 GPU (40GB or 80GB)
- Python >= 3.8
- Google Colab with A100
- Clone Janus:
!git clone https://github.com/deepseek-ai/Janus.git
%cd Janus
!pip install -e .- Run the notebook
- Specify number of images per prompt
- Enter text descriptions
- Find generated images in
generated_samplesfolder
Generated images are stored in generated_samples with timestamped filenames.
Uses Janus model by DeepSeek AI