Spaces:
Running
Running
| title: Soap Lab | |
| emoji: π§Ό | |
| colorFrom: yellow | |
| colorTo: green | |
| sdk: gradio | |
| app_file: app.py | |
| pinned: false | |
| tags: | |
| - gradio | |
| - chemistry | |
| - soap | |
| - small-models | |
| - backyard-ai | |
| - tiny-titan | |
| - off-brand | |
| - codex | |
| - field-notes | |
| - sharing-is-caring | |
| - track:backyard | |
| - sponsor:openai | |
| - achievement:offgrid | |
| - achievement:offbrand | |
| - achievement:sharing | |
| - achievement:fieldnotes | |
| # π§Ό Soap Lab | |
| Plain English soap chemistry for home makers β recipes, substitutions, troubleshooting. | |
| ## The idea | |
| I was asking in a soap making community what people do when they can't find an oil for | |
| a recipe. Someone asked about palm oil. The answer? *"Tallow maybe?"* | |
| SoapCalc and Soapmaking Friend have been the only options for years. Both are form-based | |
| tools β dropdowns, number fields, ten steps before you get an answer. Neither explains | |
| anything. Soap Lab fixes that. | |
| ## Track | |
| π‘ **Chapter One: Backyard AI** β built for a real home soap maker who needed | |
| explanations, not just numbers. | |
| ## Badges targeting | |
| - π Tiny Titan β Qwen2.5-3B-Instruct (3B parameters) | |
| - π¨ Off-Brand β custom warm cream UI, visual progress bars | |
| - π» Codex β agentic optimiser and UI built with Codex | |
| - π Field Notes β blog post linked below | |
| - π‘ Sharing is Caring β agent traces linked below | |
| ## What it does | |
| Five modes, all plain English input: | |
| * **Recipe** β lye calculation from verified SAP values + quality scores + AI explanation | |
| * **Substitute** β fatty acid matching to find the closest oil replacement | |
| * **Goal** β skin-targeted recipe suggestions from a description | |
| * **Diagnose** β batch failure analysis and fix | |
| * **Pantry** β best recipe from whatever oils you have | |
| * **Optimise** β agentic 3-iteration recipe improvement loop with before/after comparison | |
| Plus: superfat slider, vegan filter, water hardness recommendations with sodium citrate amounts. | |
| ## Architecture | |
| The lye calculation is **deterministic Python β not AI**. SAP values from the HSCG | |
| professional standard, verified against known recipes, 33 tests passing. The model only | |
| explains numbers the code already calculated correctly. | |
| ## Model | |
| `Qwen/Qwen2.5-3B-Instruct` via Featherless AI β 3B parameters, Tiny Titan eligible. | |
| ## Links | |
| - π Blog post: https://huggingface.co/blog/build-small-hackathon/soap-lab-tallow-maybe | |
| - π¬ Demo video: https://youtu.be/10OhPgMqAKo | |
| - π± Social post: https://x.com/flower56778/status/2066095227429961777 | |
| - π» GitHub: https://github.com/tammy357/soap-lab | |
| - π‘ Agent Traces: https://huggingface.co/datasets/tammy357/soap-lab-traces | |
| ## Built with | |
| - Codex for UI redesign, agentic recipe optimiser, and water hardness mode | |
| - Deterministic chemistry engine (SAP values from HSCG) | |
| - Qwen2.5-3B-Instruct via Featherless AI | |
| # π§Ό Soap Lab | |
| Plain English soap chemistry for home makers β recipes, substitutions, troubleshooting. | |
| ## The idea | |
| I was asking in a soap making community what people do when they can't find an oil for | |
| a recipe. Someone asked about palm oil. The answer? *"Tallow maybe?"* | |
| SoapCalc and Soapmaking Friend have been the only options for years. Both are form-based | |
| tools β dropdowns, number fields, ten steps before you get an answer. Neither explains | |
| anything. Soap Lab fixes that. | |
| ## Track | |
| π‘ **Chapter One: Backyard AI** β built for a real home soap maker who needed | |
| explanations, not just numbers. | |
| ## Badges targeting | |
| - π Tiny Titan β Qwen2.5-3B-Instruct (3B parameters) | |
| - π¨ Off-Brand β custom warm cream UI, visual progress bars | |
| - π» Codex β agentic optimiser and UI built with Codex | |
| - π Field Notes β blog post linked below | |
| - π‘ Sharing is Caring β agent traces linked below | |
| ## What it does | |
| Five modes, all plain English input: | |
| * **Recipe** β lye calculation from verified SAP values + quality scores + AI explanation | |
| * **Substitute** β fatty acid matching to find the closest oil replacement | |
| * **Goal** β skin-targeted recipe suggestions from a description | |
| * **Diagnose** β batch failure analysis and fix | |
| * **Pantry** β best recipe from whatever oils you have | |
| * **Optimise** β agentic 3-iteration recipe improvement loop with before/after comparison | |
| Plus: superfat slider, vegan filter, water hardness recommendations with sodium citrate amounts. | |
| ## Architecture | |
| The lye calculation is **deterministic Python β not AI**. SAP values from the HSCG | |
| professional standard, verified against known recipes, 33 tests passing. The model only | |
| explains numbers the code already calculated correctly. | |
| ## Model | |
| `Qwen/Qwen2.5-3B-Instruct` via Featherless AI β 3B parameters, Tiny Titan eligible. | |
| ## Links | |
| - π Blog post: https://huggingface.co/blog/build-small-hackathon/soap-lab-tallow-maybe | |
| - π¬ Demo video: https://youtu.be/10OhPgMqAKo | |
| - π± Social post: https://x.com/flower56778/status/2066095227429961777 | |
| - π» GitHub: https://github.com/tammy357/soap-lab | |
| - π‘ Agent Traces: https://huggingface.co/datasets/tammy357/soap-lab-traces | |
| ## Built with | |
| - Codex for UI redesign, agentic recipe optimiser, and water hardness mode | |
| - Deterministic chemistry engine (SAP values from HSCG) | |
| - Qwen2.5-3B-Instruct via Featherless AI |