Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit History
3 days ago
-
Link warnings to the right edits and keep restored openings intact
Verified signature1741f09 -
Align numeric edits with their sentences and clarify revision warnings
Codexac2955c -
Correct contraction checks, preservation summaries and sentence provenance
Codexca83014 -
Make Voiceprint model reading opt-in (#5)
- Make Voiceprint model reading opt-in in MCP (8eeb6ce57c14fca480c12c6de7d98baedba3610f) - Make studio Voiceprint model reading opt-in (1eef821977aba3e9e41c50d70eb7c443bd8823b9) - Document the opt-in Voiceprint boundary (adb48865c6839f002f3580f6e2c72ac427bcad8d) - Test opt-in from the studio and MCP surfaces (32f677c6ce8093f1b6f4e2907431b2fa89424bae)d2d4974
-
Improve author voice evidence, factual warnings, and structural preservation
Codex9498b58
-
HumanTouch: authorial-preservation engine, change ledger, Voiceprint, evals (#4)
- HumanTouch: authorial-preservation engine, change ledger, Voiceprint, evals (e13af247dd2413959503eec6fc460e9770af9926) - Remove stale compiled files (1ec16eaa3f7435c246cdb75b6a767c676ebff676) - Deploy script: also clear root __pycache__ (07730280ef4b1496a9144673a7668b7912946273)db3e82c
-
Build preservation-first revision desk and individual Amplify takes
Verified signature60c4292
-
Add voice amplification workflow
Codexdc3d3a5
-
Give HumanTouch a considered writing studio and dependable editing (#1)
- Give HumanTouch a considered writing studio and dependable editing (a2766c626ad5d49f686ece3af183cb46bd650ebd)420aaad
-
Prevent HF iframe resizing from stretching HumanTouch
Hugging Face Spaces render the Gradio app inside an auto-resized iframe, so viewport-height CSS can feed back into a very tall page. The editor and canvas now use compact fixed responsive heights, and the Humanizer textboxes use fewer Gradio rows. Constraint: Hugging Face Spaces render the app inside an auto-resized iframe Rejected: Only shorten the compose input | did not address vh-driven editor and canvas height Confidence: high Scope-risk: narrow Directive: Do not reintroduce vh units into app CSS without verifying inside the live Space iframe Tested: py -m unittest discover -s tests -v; py -m py_compile app.py tests\test_humantouch.py; local browser measurements at 1280x900 and 375x812 Not-tested: Groq generation behavior, unchanged4f32ec2 -
Make the co-writing input feel appropriately compact
The previous canvas input height was raised to prevent clipped helper text, but it made the typing box feel too tall on mobile. Shortening the placeholder lets the input return to a compact 52px height without clipping or contrast regressions. Constraint: The placeholder must remain readable on narrow mobile widths. Rejected: Keep the 72px textarea | users reported the typing box felt too long. Confidence: high Scope-risk: narrow Directive: Keep canvas input height paired with placeholder length; do not lengthen the placeholder without rechecking mobile. Tested: py -m unittest discover -s tests -v; py -m py_compile app.py tests\\test_humantouch.py; local mobile browser measurement of #chat_input textarea at 52px. Not-tested: Live Groq generation, unchanged by this UI-only adjustment.9b47eb9 -
Restore readable writing controls in the live Space
Gradio 6 applies custom CSS through launch(), so the Space could render nested controls with default colors instead of the intended theme. The UI theme is now generated through a testable builder, passed through launch(), and expanded to cover nested textareas, inputs, tabs, chat surfaces, buttons, and mobile layouts. Constraint: Gradio 6 moved css from Blocks construction to launch(). Rejected: Keep only wrapper-level elem_id styling | nested Gradio controls still inherit unreadable defaults. Confidence: high Scope-risk: moderate Directive: Keep custom CSS launch wiring in sync with the installed Gradio major version before changing theme plumbing. Tested: py -m unittest discover -s tests -v; py -m py_compile app.py tests\\test_humantouch.py; desktop and mobile browser screenshots with computed color samples. Not-tested: Live Groq model response generation, only UI rendering with a dummy local GROQ_API_KEY.408a656
-
Make HumanTouch feel trustworthy enough to use
Verified signatureThe Canvas flow was failing because Gradio 6.15 expects chat history as role/content message dictionaries. The UI also read like a demo, so this tightens the editor prompt, labels, accessible seed actions, metadata, and responsive styling around the actual writing job. Constraint: Hugging Face Space uses Gradio 6.15 and requires message-dict Chatbot history Rejected: Keep tuple/list chat history | caused the deployed Canvas message-format error Rejected: Keep the alchemy-heavy prompt | produced florid rewrites and weaker trust Confidence: high Scope-risk: moderate Directive: Keep co-creation history in {role, content} message format for Gradio 6.x Tested: py -m unittest tests.test_humantouch Tested: py -m py_compile app.py tests\test_humantouch.py Tested: Local browser QA desktop and 390px mobile, no horizontal overflow Tested: Local Canvas submit with dummy key renders graceful assistant message instead of Gradio format error Not-tested: Production Groq secret live generation before …0b7bb00