Skip to content
Snippets Groups Projects
Commit 051740d7 authored by svornost's avatar svornost
Browse files

Give some brief instructions how to avoid common problems, like using a less...

Give some brief instructions how to avoid common problems, like using a less ethnically-biased base model, setting up CORS for Chromium-based hosts running from local files, and dealing with long image generation times.
parent 29ac37f2
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,8 @@ Stable Diffusion is an AI model for generating images given a text prompt. Autom
<li><a href="https://civitai.com/models/33208?modelVersionId=112969">Film Velvia v3</a></li>
</ul>
<p>Note that MajicMix is heavily biased towards Asian girls; if you have a more diverse arcology, you may prefer a different base model like <a href="https://civitai.com/models/16804">Life Like Diffusion</a>. Your results may vary with other models, since generated prompts are tuned primarily for these models, but don't be afraid to try others.</p>
<h2>4. Place the models in their corresponding directories</h2>
<p>Next, you need to place the models in the appropriate directories in the Stable Diffusion WebUI:</p>
<ul>
......@@ -37,13 +39,16 @@ Stable Diffusion is an AI model for generating images given a text prompt. Autom
<p>Windows:</p>
<pre><code>set COMMANDLINE_ARGS=--medvram --no-half-vae --listen --port=7860 --api --cors-allow-origins *</code></pre>
<p>You may need to use <code>--cors-allow-origins null</code> instead of <code>--cors-allow-origins *</code> if you are using a Chromium-based host (Chrome, Edge, FCHost, or similar), <i>and</i> are running Free Cities from a local HTML file rather than a webserver.</p>
<h2>6. Running the WebUI</h2>
<p>Now you can run the WebUI by executing either <code>webui.sh</code> (Linux/Mac) or <code>webui.bat</code> (Windows). Note that the WebUI server needs to be running the whole time you're using it.
Once it's running, open your browser and go to <code>localhost:7860</code>. The WebUI should open. In the top left is a dropdown for model selection, pick MajicMix in that dropdown.</p>
Once it's running, open your browser and go to <code>localhost:7860</code>. The WebUI should open. In the top left is a dropdown for model selection, pick MajicMix (or a different model of your choice) in that dropdown.</p>
<h2>7. Check it works</h2>
<p>At this point, if you go to a slave's detail page their image should load after a short (<30 seconds) delay. If it doesn't seem to be working, have a look at the terminal window running Automatic1111's Stable Diffusion WebUI to see if there are any errors.</p>
<p>The request will time out if the image can't be generated fast enough; if this is the case for you, try to find a guide to optimizing Stable Diffusion for your particular hardware setup, or disable the "Upscaling/highres fix" option.</p>
`;
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment