Kilvoctu / aiyabot

A neat Discord bot for AUTOMATIC1111's Web UI
GNU General Public License v2.0
309 stars 76 forks source link

Error #256

Open astrotically opened 7 months ago

astrotically commented 7 months ago

I did everything right in the commit, but I got this error:

Configuration file missing! I'm creating config.toml in resources/. Using URL: (url) Using outputs directory: outputs API is unreachable! Please check Web UI COMMANDLINE_ARGS for --api. Press any key to continue . . . Uh oh, stats.txt missing. Creating a new one. Uh oh, missing models.csv data. Creating a new one. Can't connect to API for some reason!Please check your .env URL or credentials. Press any key to continue . . .

I did put --api inside COMMANDLINE_ARGS, help asap!

Kilvoctu commented 7 months ago

Heya, are both web ui and aiyabot running on same machine? Try loading Web UI first, let it launch, then load aiyabot; she's supposed to wait and connect, but it's buggy sometimes. If you set credentials in the COMMANDLINE_ARGS (recommended), they will need to be added to aiyabot's .env file