ASTRALK commited on
Commit
72a3f03
·
verified ·
1 Parent(s): e3fafda

Upload comic/__init__.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. comic/__init__.py +20 -0
comic/__init__.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """comic — a 10-page (20-panel) comic-book generator.
2
+
3
+ idea -> Gemma (gatekeeper + story bible + panel script) -> FLUX (20 images) -> reader.
4
+
5
+ The two model roles, cleanly split:
6
+ * Writer (Gemma 4 26B-A4B): ALL text — safety check, story bible, per-panel
7
+ scene + caption. Never renders images.
8
+ * Artist (FLUX.2 klein): images ONLY — never writes text into the image; the
9
+ caption is shown separately by the UI.
10
+ """
11
+
12
+ from .schema import Character, Panel, ComicBible, Comic
13
+ from .backends import make_backends, WriterBackend, ArtistBackend
14
+ from .engine import generate_comic, GenerateEvent
15
+
16
+ __all__ = [
17
+ "Character", "Panel", "ComicBible", "Comic",
18
+ "make_backends", "WriterBackend", "ArtistBackend",
19
+ "generate_comic", "GenerateEvent",
20
+ ]