Code Monkey home page Code Monkey logo

Comments (39)

Anon1216 avatar Anon1216 commented on June 14, 2024 9

I fixed it, it seems that Google banned our boy's name from Colab, apart some other small things. All I had to do was change links, but now it works. It's the same code.

And btw, fuck Google

https://colab.research.google.com/drive/1JPVz-NWrU5TODy4eqSKrLSLx8FyK4APa#scrollTo=f1pBw_ViDULQ

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024 3

@dsinkerii can you clarify the changes? Or just fork the project and show your working version

sure, i will try to fork it rq and submit a pr

from sd-1click-colab.

Anon1216 avatar Anon1216 commented on June 14, 2024 3

I hope Nolan is okay

from sd-1click-colab.

martecolini avatar martecolini commented on June 14, 2024 2

It disconnects after 8 minutes :(

from sd-1click-colab.

tyoshi777 avatar tyoshi777 commented on June 14, 2024 2

nolanaatama Please come back!

from sd-1click-colab.

ssolikhin avatar ssolikhin commented on June 14, 2024 2

My work around solution is just:

  1. Encode the whole code into base64
  2. Replace it into variable 'a' in code below
  3. run it

import base64
a = 'ZWNobyAnaGVsbG8gd29ybGQhJw=='
p = base64.b64decode(a).decode('utf-8')
x =''.join([i[i[0] in ['!','%']:] for i in p.splitlines(True)])
!eval $x

from sd-1click-colab.

dreamscapeai avatar dreamscapeai commented on June 14, 2024 2

The encoding also worked for few minutes for me. But I think I found the workaround by making a hybrid of camen and nolan.
Just uploaded a video and the colab https://youtu.be/4JEtJ7bTaHE?si=A4on3BlLaI53E6yX
Let me know if this works for you.
Nolan, whenever you comeback, will do my best to keep your 1-Click spirit alive.

from sd-1click-colab.

Domqwerty avatar Domqwerty commented on June 14, 2024 2

Ho risolto il problema, sembra che Google abbia bandito il nome del nostro ragazzo da Colab, a parte alcune altre piccole cose. Tutto quello che dovevo fare era cambiare i collegamenti, ma ora funziona. E' lo stesso codice.

E comunque, fanculo Google

https://colab.research.google.com/drive/1JPVz-NWrU5TODy4eqSKrLSLx8FyK4APa#scrollTo=f1pBw_ViDULQ

great job, it works

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024 2

i had an idea that im not 100% sure will work but theres a chance, what if you encode the entire code with AES so the code will be encrypted with random stuff every time, and change hosts to ip's?
again, not sure if that will work, so correct me if im wrong, since i dont fully understand whats triggering the colab warnings, but i hope this can resolve the issue atleast for now

from sd-1click-colab.

tina-hello avatar tina-hello commented on June 14, 2024 2

When mounted colab can still read the content (obviously, since otherwise it can't run it). They might going to kill this workaround once enough people are using it.

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024 1

using steps from camenduru/stable-diffusion-webui-colab#405 (comment) (and modifying it a little) on this notebook fixes the issue for me

from sd-1click-colab.

Skybloard avatar Skybloard commented on June 14, 2024

Same unu

from sd-1click-colab.

edwinzeng2005 avatar edwinzeng2005 commented on June 14, 2024

I have the same problem now. It appears that I get disconnected very quickly, even if I don't do anything.

from sd-1click-colab.

tina-hello avatar tina-hello commented on June 14, 2024

@dsinkerii can you clarify the changes? Or just fork the project and show your working version

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024

#73 (comment)

from sd-1click-colab.

medievalCode avatar medievalCode commented on June 14, 2024

My work around solution is just:

  1. Encode the whole code into base64
  2. Replace it into variable 'a' in code below
  3. run it

import base64
a = 'ZWNobyAnaGVsbG8gd29ybGQhJw=='
p = base64.b64decode(a).decode('utf-8')
x =''.join([i[i[0] in ['!','%']:] for i in p.splitlines(True)])
!eval $x

Nice workaround, simpler than the others. Sadly, I still get kicked out after a few minutes.

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024

My work around solution is just:

  1. Encode the whole code into base64
  2. Replace it into variable 'a' in code below
  3. run it

import base64
a = 'ZWNobyAnaGVsbG8gd29ybGQhJw=='
p = base64.b64decode(a).decode('utf-8')
x =''.join([i[i[0] in ['!','%']:] for i in p.splitlines(True)])
!eval $x

Nice workaround, simpler than the others. Sadly, I still get kicked out after a few minutes.

after a bit of checking i think its either because colab quickly noticed the fix and now you cant use any base64 workarounds rn, or either they are starting to check the file names

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024

I fixed it, it seems that Google banned our boy's name from Colab, apart some other small things. All I had to do was change links, but now it works. It's the same code.

And btw, fuck Google

https://colab.research.google.com/drive/1JPVz-NWrU5TODy4eqSKrLSLx8FyK4APa#scrollTo=f1pBw_ViDULQ

great stuff, ill try to make some sort of a way to select models so you can actually control what you want and what you dont, without having it to edit the code

from sd-1click-colab.

medievalCode avatar medievalCode commented on June 14, 2024

Ho risolto il problema, sembra che Google abbia bandito il nome del nostro ragazzo da Colab, a parte alcune altre piccole cose. Tutto quello che dovevo fare era cambiare i collegamenti, ma ora funziona. E' lo stesso codice.
E comunque, fanculo Google
https://colab.research.google.com/drive/1JPVz-NWrU5TODy4eqSKrLSLx8FyK4APa#scrollTo=f1pBw_ViDULQ

great job, it works

I still get disconnected after around 20 min. It lasts longer, but still google is kicking us out. I'll try some other workarounds to see if I can avoid getting kicked out.

from sd-1click-colab.

ssolikhin avatar ssolikhin commented on June 14, 2024

i had an idea that im not 100% sure will work but theres a chance, what if you encode the entire code with AES so the code will be encrypted with random stuff every time, and change hosts to ip's? again, not sure if that will work, so correct me if im wrong, since i dont fully understand whats triggering the colab warnings, but i hope this can resolve the issue atleast for now

agree.. encryption using AES + key so everyone has unique ciphertext. i think uniqueness is the thing we need to defeat it, cause we all run the same code.. i think it worth to try..

from sd-1click-colab.

D-usk avatar D-usk commented on June 14, 2024

if we take pro colab (11€/month) do you think they will still blacklist SD ?

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024

i've heard from another repo getting a paid plan defeats the problem

from sd-1click-colab.

Anon1216 avatar Anon1216 commented on June 14, 2024

i had an idea that im not 100% sure will work but theres a chance, what if you encode the entire code with AES so the code will be encrypted with random stuff every time, and change hosts to ip's? again, not sure if that will work, so correct me if im wrong, since i dont fully understand whats triggering the colab warnings, but i hope this can resolve the issue atleast for now

That's interesting. Can you make a colab like that & share the link? I know that the name "nolanaatama" associated with Github links & terms like "a1111, sd-webui, stable-diffusion", etc are blacklisted.

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024

i had an idea that im not 100% sure will work but theres a chance, what if you encode the entire code with AES so the code will be encrypted with random stuff every time, and change hosts to ip's? again, not sure if that will work, so correct me if im wrong, since i dont fully understand whats triggering the colab warnings, but i hope this can resolve the issue atleast for now

update: after a bit of thinking, came to the conclusion that if you try this, you will technically just convert code into encrypted code, and then back into the same code, rendering it useless

you technically can download the same code every time, and then running it like normal, but then you will have to upload a new file every time google block it

so its time to turn on our brains and think of new ideas

from sd-1click-colab.

ssolikhin avatar ssolikhin commented on June 14, 2024

i had an idea that im not 100% sure will work but theres a chance, what if you encode the entire code with AES so the code will be encrypted with random stuff every time, and change hosts to ip's? again, not sure if that will work, so correct me if im wrong, since i dont fully understand whats triggering the colab warnings, but i hope this can resolve the issue atleast for now

update: after a bit of thinking, came to the conclusion that if you try this, you will technically just convert code into encrypted code, and then back into the same code, rendering it useless

you technically can download the same code every time, and then running it like normal, but then you will have to upload a new file every time google block it

so its time to turn on our brains and think of new ideas

i think still can be done.. the encryption would be manual outside the Colab, use AES encryption website for example. And Colab provide only the decryption and render.. and if blocked just encrypt with different key.. or i miss something?

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024

image
image
well guys, last backup account banned, so i cant help no more

from sd-1click-colab.

thenameistaken1 avatar thenameistaken1 commented on June 14, 2024

I fixed it, it seems that Google banned our boy's name from Colab, apart some other small things. All I had to do was change links, but now it works. It's the same code.

And btw, fuck Google

https://colab.research.google.com/drive/1JPVz-NWrU5TODy4eqSKrLSLx8FyK4APa#scrollTo=f1pBw_ViDULQ

Not working anymore, sadly. Disconnects very quickly, sometimes even when the links aren't ready.

from sd-1click-colab.

ssolikhin avatar ssolikhin commented on June 14, 2024

image image well guys, last backup account banned, so i cant help no more

Screenshot 2023-09-13 105618
Yeah i'm done.. this is mine just last night.. careful everyone.. consider this post

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024

F

from sd-1click-colab.

ssolikhin avatar ssolikhin commented on June 14, 2024

For the warrior:

  1. Encode the whole code into base32
  2. Encode the encoded text again (do it multiple times)
  3. Replace it into variable 'a' in code below
  4. run it

import base64 as www
a = '''

JJFEYRKZKJJUMS2ZLJDEKURSJ5FFUQ2VI5KVGS2LLJCVMTKSINLEWNKHKRCVES2LJNNEKRKJKNFVMSSOIRKVKTSDGJFVERCWJNGVGUCKJZDEKVKWJNEEWRSGKZKVEMSPJJDEGVCJKYZFGS2OIVKEWUSTKVETKTCFI5LFGSSLLJBFMTKTJNLEUSJSKVIVMSSXJNIVURBSKBFDK===

'''
while 'content' not in a: a = www.b32decode(a.strip()).decode('utf-8')
x =''.join([i[i[0] in ['!','%']:] for i in a.splitlines(True)])
!eval $x

from sd-1click-colab.

dsinkerii avatar dsinkerii commented on June 14, 2024

you technically can also use aes encryption on your local pc to encrypt the code and then using the key decrypt it

from sd-1click-colab.

D-usk avatar D-usk commented on June 14, 2024

I might subscribe to the Collab pro i think, or maybe trying to re-create a build in Paperspace for 8€ (but it's linux and I suck at linux :s )

from sd-1click-colab.

ssolikhin avatar ssolikhin commented on June 14, 2024

you technically can also use aes encryption on your local pc to encrypt the code and then using the key decrypt it

i have an idea:
what if we just copy the after downloaded /content/ into our drive. and run only the tunnel.

do you think it could work?

from sd-1click-colab.

kirimaseiichi avatar kirimaseiichi commented on June 14, 2024

Is there no way but wait for being solved this issue by somebody?

from sd-1click-colab.

tina-hello avatar tina-hello commented on June 14, 2024

you technically can also use aes encryption on your local pc to encrypt the code and then using the key decrypt it

i have an idea: what if we just copy the after downloaded /content/ into our drive. and run only the tunnel.

do you think it could work?

Drive as in your local drive? Then it means you're using your own GPU, no point in using Colabs then.

from sd-1click-colab.

ssolikhin avatar ssolikhin commented on June 14, 2024

you technically can also use aes encryption on your local pc to encrypt the code and then using the key decrypt it

i have an idea: what if we just copy the after downloaded /content/ into our drive. and run only the tunnel.
do you think it could work?

Drive as in your local drive? Then it means you're using your own GPU, no point in using Colabs then.

no, drive as in our googledrive. and we run also in colab..

and the only code which we run would just look like this: (i have use this for second times and its fine.. i dont know for the third):

from google.colab import drive
drive.mount('/content/drive')

%cd /content/drive/MyDrive/trying/microsoftexcel

!apt -y update -qq
%env LD_PRELOAD=/content/drive/MyDrive/trying/libtcmalloc_minimal.so.4
!pip install pip install pydantic==1.8.2

!COMMANDLINE_ARGS="--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared" REQS_FILE="requirements.txt" python launch.py

from sd-1click-colab.

tyoshi777 avatar tyoshi777 commented on June 14, 2024

%cd /content/drive/MyDrive/trying/microsoftexcel

!apt -y update -qq %env LD_PRELOAD=/content/drive/MyDrive/trying/libtcmalloc_minimal.so.4 !pip install pip install pydantic==1.8.2

!COMMANDLINE_ARGS="--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared" REQS_FILE="requirements.txt" python launch.py

Where do I add this command so I can use it?

from sd-1click-colab.

tina-hello avatar tina-hello commented on June 14, 2024

If any of you considering to pay for Colabs, check out other freemium services first. I've been using the SeaArt, while it disallow explicit NSFW content, it's still far more convenient and relatively cheap compared to paying for Colabs. I'm sure other freemium services would have similar pricing.

from sd-1click-colab.

mannapijush1coretech avatar mannapijush1coretech commented on June 14, 2024

is this fixed ?

from sd-1click-colab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.