Saving outputs to Google Drive - NUROISEA/anime-webui-colab GitHub Wiki

image

It saves your generations to Google Drive directly.

A QoL toggle so you don't have to run the next cell to zip the images and then be copied to Google Drive.

A safety net of sorts if Google Colab decides to disconnect you since you have been generating too much and cannot zip your images.

output_drive_folder

By default it would be saved to AI/Generated folder in your drive, which looks like so:

image

Inside that, there would be an outputs folder containing every generation you have done. It mirrors the file structure of the WebUI, and it is the same layout of the .zip files you have downloaded using the 💾 Saving images cell on the colab.

The 💾 Saving images cell

If you have outputs_to_drive enabled, this cell would be rendered useless (as of 2023-03-02) since you already have it in your drive.

If you wish to download them as a .zip you can go to your Drive, go to the outputs folder and enter any of the following folders:

image

  • txt2img-images would contain your generations one by one
  • txt2img-grids would contain the grids of images if you use batch count/size
  • saved would contain the images that you clicked saved on
  • img2img-images would contain your image to image generations one by one
  • img2img-grids would contain the grids of image to image generations if you use batch count/size
  • extras-images would contain images that you upscaled/cropped using the extras tab of the web ui

Upon entering you would see a folder which is the date, right click on it and download as zip. The zipping process could take a couple of minutes depending on the amount of images you have generated, please be patient. 😁

The following GIF is a demonstration of the entire process:

chrome_XEs45FPa6b