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

Bugfix/predict import error #9

Closed idoubi closed 10 months ago

idoubi commented 10 months ago

There is a bug when use OPENAI as llmEngine, import predictWithHuggingFace at top of the file will occur error when not set predictWithHuggingFace key.

image

I fixed this bug with async import in condition block.

One more thing, I changed the README file with the same params used in predict file.

jbilcke-hf commented 10 months ago

Thank you for this pull request!