stable-diffusion-webui-colab icon indicating copy to clipboard operation
stable-diffusion-webui-colab copied to clipboard

🚨 Why is Colab Disconnecting?

Open camenduru opened this issue 1 year ago • 46 comments

According to the official statement, the Colab Free tier is not available for the Stable Diffusion WebUI 😭. We can only use it with a paid plan.

If you have more questions, please ask here: https://github.com/googlecolab/colabtools/issues

camenduru avatar May 04 '23 17:05 camenduru

Yeah... seems like they've started to enforce it

1Zero11 avatar May 04 '23 17:05 1Zero11

some Colab still can use it.. just remove/rename stable-diffusion thing to another name. and it's solved

zaviier avatar May 04 '23 19:05 zaviier

are there any sort of workarounds for this? renaming the project, having an alternate disguised version, or any free colab alternatives or whatnot?

romper-pain avatar May 04 '23 22:05 romper-pain

some Colab still can use it.. just remove/rename stable-diffusion thing to another name. and it's solved

camenduru can't just do that, i think. All eyes are on his colab. Colab team can figure out the better solution to even banning more strictly. At this point just be chill with the 'safe' colab.

etherealxx avatar May 05 '23 00:05 etherealxx

are there any sort of workarounds for this? renaming the project, having an alternate disguised version, or any free colab alternatives or whatnot?

There are many that claims 'still safe', check out here: https://github.com/camenduru/stable-diffusion-webui-colab/tree/community

etherealxx avatar May 05 '23 00:05 etherealxx

some Colab still can use it.. just remove/rename stable-diffusion thing to another name. and it's solved

But how to do that from where to remove it

DevRushi-engg avatar May 05 '23 03:05 DevRushi-engg

https://github.com/camenduru/stable-diffusion-webui-colab/issues/407 What about this thing

DevRushi-engg avatar May 05 '23 12:05 DevRushi-engg

Is it just webUI is banned or stable diffusion altogether?

mike59881051 avatar May 09 '23 05:05 mike59881051

Rename "stable diffusion" to "erratic condensation"

mcube-12139 avatar May 21 '23 07:05 mcube-12139

Step1 Append code in header:

import sys
import os
import base64

w = base64.b64decode(("d2VidWk=").encode('ascii')).decode('ascii')
sdw = base64.b64decode(("c3RhYmxlLWRpZmZ1c2lvbi13ZWJ1aQ==").encode('ascii')).decode('ascii')

Step2

Replace all stable-diffusion-webui characters with $sdw Replace all webui characters with $w

bincooo avatar May 24 '23 13:05 bincooo

Step1 Append code in header:

import sys
import os
import base64

w = base64.b64decode(("d2VidWk=").encode('ascii')).decode('ascii')
sdw = base64.b64decode(("c3RhYmxlLWRpZmZ1c2lvbi13ZWJ1aQ==").encode('ascii')).decode('ascii')

Step2

Replace all stable-diffusion-webui characters with $sdw Replace all webui characters with $w

works for me

gabrielsmecrow avatar May 25 '23 00:05 gabrielsmecrow

It doesn't work for me:

`Status Legend: (OK):download completed. Exception: [AbstractOptionHandler.cc:69] errorCode=28 We encountered a problem while processing the option '--continue'. -> [OptionHandlerImpl.cc:95] errorCode=1 continue must be either 'true' or 'false'. Usage: -c, --continue[=true|false] Continue downloading a partially downloaded file. Use this option to resume a download started by a web browser or another program which downloads files sequentially from the beginning. Currently this option is only applicable to http(s)/ftp downloads.

                          Possible Values: true, false
                          Default: false
                          Tags: #basic, #http, #ftp

sed: can't read /content//launch.pyi: No such file or directory sed: can't read /content//launch.py: No such file or directory sed: can't read /content//modules/shared.py: No such file or directory python3: can't open file '/content/stable-diffusion-webui/launch.py': [Errno 2] No such file or directory`

tralala87 avatar May 31 '23 14:05 tralala87

Step1 Append code in header:

import sys
import os
import base64

w = base64.b64decode(("d2VidWk=").encode('ascii')).decode('ascii')
sdw = base64.b64decode(("c3RhYmxlLWRpZmZ1c2lvbi13ZWJ1aQ==").encode('ascii')).decode('ascii')

Step2

Replace all stable-diffusion-webui characters with $sdw Replace all webui characters with $w

wich stable-diffusion-webui? because some of them are related to web URLs and others are related to local directories.

SEYED1424 avatar Jun 11 '23 09:06 SEYED1424

Step1 Append code in header:

import sys
import os
import base64

w = base64.b64decode(("d2VidWk=").encode('ascii')).decode('ascii')
sdw = base64.b64decode(("c3RhYmxlLWRpZmZ1c2lvbi13ZWJ1aQ==").encode('ascii')).decode('ascii')

Step2

Replace all stable-diffusion-webui characters with $sdw Replace all webui characters with $w

What header?

vicentefelipechile avatar Jun 27 '23 19:06 vicentefelipechile

Step1 Append code in header:

import sys
import os
import base64

w = base64.b64decode(("d2VidWk=").encode('ascii')).decode('ascii')
sdw = base64.b64decode(("c3RhYmxlLWRpZmZ1c2lvbi13ZWJ1aQ==").encode('ascii')).decode('ascii')

Step2

Replace all stable-diffusion-webui characters with $sdw Replace all webui characters with $w

why encoding and decoding when it can be done something like this https://github.com/DeekshithSH/Automatic-1111-WebUI-Colab/blob/main/controlnet.ipynb

DeekshithSH avatar Jul 01 '23 05:07 DeekshithSH

Step1 Append code in header:

import sys
import os
import base64

w = base64.b64decode(("d2VidWk=").encode('ascii')).decode('ascii')
sdw = base64.b64decode(("c3RhYmxlLWRpZmZ1c2lvbi13ZWJ1aQ==").encode('ascii')).decode('ascii')

Step2 Replace all stable-diffusion-webui characters with $sdw Replace all webui characters with $w

why encoding and decoding when it can be done something like this https://github.com/DeekshithSH/Automatic-1111-WebUI-Colab/blob/main/controlnet.ipynb

ofcourse, as long as you achieve the purpose of blocking keywords

bincooo avatar Jul 02 '23 09:07 bincooo

Hi there,I am not a coder but need to use stable diffusion for free if possible can anyone please figure out about this

Step1 Append code in header:

import sys import os import base64

w = base64.b64decode(("d2VidWk=").encode('ascii')).decode('ascii') sdw = base64.b64decode(("c3RhYmxlLWRpZmZ1c2lvbi13ZWJ1aQ==").encode('ascii')).decode('ascii')

Step2

Replace all stable-diffusion-webui characters with $sdw Replace all webui characters with $w

I understood the second step that by going on edit we can replace it but can anyone please tell me about how to do the first step it would be really helpful for me,thank you for reading.

Sarthak-999 avatar Jul 31 '23 14:07 Sarthak-999

Just paste the code

import sys
import os
import base64

w = base64.b64decode(("d2VidWk=").encode('ascii')).decode('ascii')
sdw = base64.b64decode(("c3RhYmxlLWRpZmZ1c2lvbi13ZWJ1aQ==").encode('ascii')).decode('ascii')

In top of the code

DeekshithSH avatar Jul 31 '23 14:07 DeekshithSH

Do we have to make a new cell or on the top of first cell?,thank you soo much for replying.

Sarthak-999 avatar Jul 31 '23 14:07 Sarthak-999

Do we have to make a new cell or on the top of first cell?,thank you soo much for replying.

On top of existing cell(first cell)

DeekshithSH avatar Jul 31 '23 14:07 DeekshithSH

Hi , can you share the colab notebook or snippet where you actually make the changes ? That would be of great help

timtensor avatar Aug 03 '23 13:08 timtensor

Hi , can you share the colab notebook or snippet where you actually make the changes ? That would be of great help

Here is a modified notebook files This and This Don't know this still works or not You can reference this file but it's little bit different than what trick your trying to ask

DeekshithSH avatar Aug 03 '23 13:08 DeekshithSH

@DeekshithSH

Thank you! That's working fine!

While I still have issues with the SD itself, they are not colab related and are easy to fix.

If you load your model, remember to also replace all occurrences of stable as well

LIMPIX31 avatar Aug 04 '23 13:08 LIMPIX31

Step1 Append code in header:

import sys
import os
import base64

w = base64.b64decode(("d2VidWk=").encode('ascii')).decode('ascii')
sdw = base64.b64decode(("c3RhYmxlLWRpZmZ1c2lvbi13ZWJ1aQ==").encode('ascii')).decode('ascii')

Step2 Replace all stable-diffusion-webui characters with $sdw Replace all webui characters with $w

works for me

This is joy, will try it after work, Love this project. Thank you so much.

omensight avatar Sep 04 '23 13:09 omensight

Step1 Append code in header:

import sys
import os
import base64

w = base64.b64decode(("d2VidWk=").encode('ascii')).decode('ascii')
sdw = base64.b64decode(("c3RhYmxlLWRpZmZ1c2lvbi13ZWJ1aQ==").encode('ascii')).decode('ascii')

Step2 Replace all stable-diffusion-webui characters with $sdw Replace all webui characters with $w

works for me

This is joy, will try it after work, Love this project. Thank you so much.

is this still worked?

zaviier avatar Sep 10 '23 09:09 zaviier

@bincooo Can you make a colab that has this code in the right place, I don't know where to put it.

loboere avatar Sep 11 '23 20:09 loboere

@bincooo Can you make a colab that has this code in the right place, I don't know where to put it.

this does not work anymore. I already tested

zaviier avatar Sep 13 '23 14:09 zaviier

Alright, so apparently "diffusion" is the new blocked word. I tried changing "diffusion" to {d} and adding d="diffusion" on top of the cell and it works

SixSiege avatar Sep 17 '23 05:09 SixSiege

Alright, so apparently "diffusion" is the new blocked word. I tried changing "diffusion" to {d} and adding d="diffusion" on top of the cell and it works

How can I implement this? Can you give maybe a step-by-step tutorial? Thanks.

SysGang avatar Sep 17 '23 07:09 SysGang

Alright, so apparently "diffusion" is the new blocked word. I tried changing "diffusion" to {d} and adding d="diffusion" on top of the cell and it works

nope. still disconnected

zaviier avatar Sep 18 '23 08:09 zaviier