Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run this in googl colab? #75

Closed
tralala87 opened this issue May 30, 2023 · 9 comments
Closed

How to run this in googl colab? #75

tralala87 opened this issue May 30, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@tralala87
Copy link

Hi. Trying to run this in colab, but the link page doesn't work. Any idea how to make this work?

!curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
!echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
!sudo apt-get update && sudo apt-get install yarn
!curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
!sudo apt-get install -y nodejs
!git clone https://github.com/Stability-AI/StableStudio.git
%cd StableStudio
!yarn
!yarn dev

@tralala87 tralala87 added the bug Something isn't working label May 30, 2023
@arch-user-france1
Copy link

Instead of installing yarn with a debian package, you can install it with npm like this: npm i -g yarn.

@tralala87
Copy link
Author

Colab freezes of I do that :)

@arch-user-france1
Copy link

You should wait a little bit. Have you waited five minutes?

@tralala87
Copy link
Author

I did. It never unfreezes.

@arch-user-france1
Copy link

arch-user-france1 commented Jun 8, 2023

the link page doesn't work

What doesn't work???

@tralala87
Copy link
Author

After running:

!curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
!echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
!sudo apt-get update && sudo apt-get install yarn
!curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
!sudo apt-get install -y nodejs
!git clone https://github.com/Stability-AI/StableStudio.git
%cd StableStudio
!yarn
!yarn dev

localhost:3000 doesn't work (does not connect to anything)

@arch-user-france1
Copy link

localhost is the local computer. You must find a solution to forward your port from the Google Colab server to your computer.

@purgenetik
Copy link

localhost is the local computer. You must find a solution to forward your port from the Google Colab server to your computer.

Solution with tunneling with cloudfare service is here

@arch-user-france1
Copy link

arch-user-france1 commented Jun 26, 2023

I'd rather use ngrok.io, but the choice is not left to me.
Ah, there's a manual for that?

@tralala87, tell us if you need further guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants