Spaces:
Running

aditya-rAj19 commited on
Commit
b1cd367
Β·
1 Parent(s): f25d3bf

Add a workflow PDF, and stop git rewriting line endings inside binaries

Browse files

docs/WORKFLOW.pdf documents how the project actually works: architecture, the
submit-and-poll request flow, every pipeline stage with its measured CPU cost,
the deploy path from a push to a running Space, and the behaviour that is easy
to misread from the code (why hair and glasses are opt-in, why quality is scored
before the harmonise stage, CPU vs GPU differences).

It is generated by scripts/make_workflow_pdf.py rather than drawn by hand, so it
can be regenerated when the pipeline changes instead of quietly going stale.
Boxes size themselves from their content β€” a hand-tuned height had already let
one section overflow its border.

.gitattributes gained binary rules for pdf/png/jpg/onnx/pth. Adding the PDF made
git announce "LF will be replaced by CRLF" for it, which would have corrupted
the file; the existing image assets were unprotected in the same way. Verified
the committed blob is byte-identical to the generated file.

3 files changed +612
Files changed (3)
.gitattributes+12
docs/WORKFLOW.pdfAdded+175
scripts/make_workflow_pdf.pyAdded+425