jbilcke-hf / ai-comic-factory

Generate comic panels using a LLM + SDXL. Powered by Hugging Face 🤗
https://aicomicfactory.app
Apache License 2.0
973 stars 204 forks source link

How to run this locally on Windows? #13

Open petmycat opened 6 months ago

petmycat commented 6 months ago

Hi, I am more of an artist and less of a coder with only some basic Python experience and I was looking to deploy this on my local computer to experiment with AI comic art. What I did was I git cloned this project to my local folder, opened .env file and changed reference APIs and added API keys to all use OpenAI, but I don't know what to do from here. How do I actually run this program? Sorry if this is an irrelevant issue, I would really appreciate some help.

linhcentrio commented 6 months ago

same question, how to run all it by local on windows only?

jaid-monwr commented 5 months ago

I have managed to run this on Windows 10 successfully. So you need to have npm and node installed first.

  1. Once you clone the repo and change the environment variables, run the npm i command to install node modules.
  2. Then run npm run dev to run it locally on localhost:3000
gjnave commented 2 months ago

I have managed to run this on Windows 10 successfully. So you need to have npm and node installed first.

  1. Once you clone the repo and change the environment variables, run the npm i command to install node modules.
  2. Then run npm run dev to run it locally on localhost:3000

THis works perfectly - very easy