90t3DXtm3p

Newbie
Jun 18, 2018
74
35
Easiest way is to go into the webui in your browser, and generate any image with the SwinIR_4x enabled. Auto1111 will download the model for you

View attachment 3101707
Thank you, this is pretty cool
hate to ask where are generated images posted in ?
searched for the images in the bin folder and default pictures folder couldnt figure it out

on a funny note, some slaves are pissing fire lmao
 
Last edited:

xmodo99

Newbie
Feb 20, 2020
24
18
Thank you, this is pretty cool
hate to ask where are generated images posted in ?
searched for the images in the bin folder and default pictures folder couldnt figure it out

on a funny note, some slaves are pissing fire lmao
They're saved in browser (no website has access to your local filesystem). There's currently no easy way to get them out in bulk right now though.
 
Last edited:
  • Like
Reactions: 90t3DXtm3p

reidrigo

Member
Jan 27, 2018
111
197
How did you guys managed to make the AI work? I already had the SD setup. I followed every single word of the instruction page but my FC just doesnt tell to my SD generate anything. The only thing I can think is that i'm opening the FC direct from HTML. Is that a problem?
 

GammaXai

Active Member
Oct 5, 2018
638
329
How did you guys managed to make the AI work? I already had the SD setup. I followed every single word of the instruction page but my FC just doesnt tell to my SD generate anything. The only thing I can think is that i'm opening the FC direct from HTML. Is that a problem?
Any messages in the SD commandline window or FC webbrowser console?
 
  • Like
Reactions: reidrigo

90t3DXtm3p

Newbie
Jun 18, 2018
74
35
How did you guys managed to make the AI work? I already had the SD setup. I followed every single word of the instruction page but my FC just doesnt tell to my SD generate anything. The only thing I can think is that i'm opening the FC direct from HTML. Is that a problem?
Is there any error or exceptions you are seeing? would wait a little longer for more development since images are locked in the browser and the outputs ive had were pretty bad compared to my average outputs when just learning/tinkering with stable diffusion
 
  • Like
Reactions: reidrigo

reidrigo

Member
Jan 27, 2018
111
197
Any messages in the SD commandline window or FC webbrowser console?
Is there any error or exceptions you are seeing? would wait a little longer for more development since images are locked in the browser and the outputs ive had were pretty bad compared to my average outputs when just learning/tinkering with stable diffusion
Thanks for your answers, brothers. I had nothing in the console, since I didnt managed to connect FC to SD opening the HTML file direct in the browser, but it worked using the fchost and everything is running like a charm now.
If someone on future have the same problem, know that you NEED to run the FChost, and for this, check this guide.
 

RustDust

Member
Jul 18, 2017
456
467
I'm running the webui-user.bat and playing in FCHost, and I think I'm close to getting this to work, but in the window I keep getting the error "TypeError: 'NoneType' object is not subscriptable"
 

xmodo99

Newbie
Feb 20, 2020
24
18
I'm running the webui-user.bat and playing in FCHost, and I think I'm close to getting this to work, but in the window I keep getting the error "TypeError: 'NoneType' object is not subscriptable"
Thanks for your answers, brothers. I had nothing in the console, since I didnt managed to connect FC to SD opening the HTML file direct in the browser, but it worked using the fchost and everything is running like a charm now.
If someone on future have the same problem, know that you NEED to run the FChost, and for this, check this guide.
I would recommend downloading the files then just running Python's simple HTTP server (this is my recommended option, ), or NodeJS serve ( ), or SimpleWebServer ( ) if you don't want to install a programming language
 
  • Like
Reactions: scrumbles

RustDust

Member
Jul 18, 2017
456
467
I would recommend downloading the files then just running Python's simple HTTP server (this is my recommended option, ), or NodeJS serve ( ), or SimpleWebServer ( ) if you don't want to install a programming language
Those sites look even more daunting than what I've been doing. I need a more detailed explanation before I throw out all the work and downloads I already did.
 

RustDust

Member
Jul 18, 2017
456
467

For Simple Web Server:

You don't have permission to view the spoiler content. Log in or register now.
I appreciate you trying to help me, really... but I feel like there's some miscommunication here. I could run the game fine before. I'm just trying to get the AI image generation to work. If this is for that then I'm sorry for being stupid but other than a new way to play, nothing's changed..
 
Jan 18, 2021
312
529
Your browser behaves differently if you load the game by opening the HTML file directly from a file://... URL or if you open it from a local web server using an URL starting with http://... or https://...

Running a local web server may help you to run the game in a way that makes it easier to troubleshoot the image generation.
 

svornost

Newbie
Jun 1, 2020
94
86
FCHost is a full bundle. It includes a browser (Chromium, already optimized for Free Cities) and a web server: this is why the AI works. But if you don't want to use FCHost, just your favorite browser + a custom web server is enough.
FCHost does not include a web server; it runs directly from the local file. You can get AI art working with FC running from a file in any decent browser just fine, if you configure XSS and CORS correctly, but the exact steps to do that vary depending on your specific browser.

RustDust said:
I'm running the webui-user.bat and playing in FCHost, and I think I'm close to getting this to work, but in the window I keep getting the error "TypeError: 'NoneType' object is not subscriptable"
This is a Python error and is probably related to something in your SD setup, not to FC. Make sure you can generate images the usual way from Automatic1111 first.
 

Roderik96

Newbie
Jan 31, 2021
50
22
When are they going to expand the lore of Free Cities? It has been some time since there has been anything of heavy importance
 

zzczys

Active Member
Jul 20, 2019
911
186
Anyone can pitch ideas after signing up at the github.

Implementation is another matter entirely......
 
4.40 star(s) 23 Votes