Git Product home page Git Product logo

ngrok-in-stablediffusion-tutorial's Introduction

English | 繁體中文

Ngrok-in-StableDiffusion-tutorial

A tutorial for enable ngrok in stable diffusion

Why you need to enable Ngrok in stable diffusion

Ngrok can help you generate a public url for sharing your stable diffusion webui for other device.

You can click the image below to watch the tutorial video.

Watch the video

How to enable Ngrok in stable diffusion webui

Windows user


There are two way to open Ngrok.

if you want only share url and don't need account system for protecting

  • add COMMANDLINE_ARGS=--ngrok authtoken
    • sample

if you need account system use this

  • add COMMANDLINE_ARGS=--ngrok authtoken:username:password
    • pw

  • After edit and save bat file. Just run the bat. Remeber to use the latest ngrok.py to run it successfully.

    • if it successfully activate it will show this.
      • success
      • you can get public url here.
    • if you failed may see this.
      • fail
      • pleaze check if you use the latest verion of ngrok.py. Or the right format of COMMANDLINE_ARGS=--ngrok authtoken:username:password. Or use the wrong authtoken.
  • If you successfully activate. Open the url it gave you.

  • you will see this page. Press visit site to enter.

  • page

    • If you had set an account you will see this.
    • pw
    • You will need to enter the right username and password to enter. If you can only see a blank page just refresh the page to clear cache.
  • At the end. You can see the Stable diffusion webui page and use it.

  • sd

Why I want to make this tutorial

There are few info for teaching how to activate this to share url in webui document. And my ppull request about ngrok in stable-diffusion-webui has been approved by AUTOMATIC1111.

That is my honor to merge my code into such big project. It is a shame for no body use the feature I edit so I made this tutorial to help you use it.

merge

ngrok-in-stablediffusion-tutorial's People

Contributors

jingshing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ngrok-in-stablediffusion-tutorial's Issues

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.