fast-stable-diffusion
fast-stable-diffusion copied to clipboard
gdrive support for v2 please
it is greate it google drive enabled in free v2
it is greate it google drive enabled in free v2
Just create a cell and put this:
from google.colab import drive drive.mount('/content/gdrive')
if you use gdrive, you won't be able to run the V2 in free colab, as it takes too much RAM.
how to save images to gdrive after created as zip? just upload the zip to gdrive
once you gathered all the images, run this in a new cell :
!mv /content/gdrive /content/gdrivevm
from google.colab import drive
drive.mount('/content/gdrive')
then drag and drop the files into your gdrive
after doing this you won't be able to use the Webui until you disconnect and reconnect.
once you gathered all the images, run this in a new cell :
!mv /content/gdrive /content/gdrivevm from google.colab import drive drive.mount('/content/gdrive')then drag and drop the files into your gdrive
after doing this you won't be able to use the Webui until you disconnect and reconnect.
I got curious, so I looked it up, you actually CAN unmount Google Drive using the below code.
from google.colab import drive
drive.flush_and_unmount()
Weird that Colab has a button to add a cell to mount Drive, but not a button to do the same for unmounting it.