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

Gradio Auth - Read from External File

Open Ju1-js opened this issue 2 years ago • 0 comments

Usage: --gradio-auth-path {PATH} It adds the credentials to the already existing --gradio-auth credentials. It can also handle line breaks. The file should look like:

{u1}:{p1},{u2}:{p2}

or

{u1}:{p1},
{u2}:{p2}

Additional notes The info message should probably be modified to say that line breaks are supported. Will Gradio handle duplicate credentials if it happens?

Testing Environment

  • OS: Windows
  • Browser: Brave - Chromium-based

Ju1-js avatar Jan 28 '23 06:01 Ju1-js