Spaces:
Running on Zero
Running on Zero
docs: link the agent trace (Sharing is Caring) + clarify the inference log is separate
Browse files- README.md +2 -0
- core/trace.py +1 -1
- scripts/publish_trace.py +6 -4
README.md
CHANGED
|
@@ -15,6 +15,7 @@ tags:
|
|
| 15 |
- off-brand
|
| 16 |
- best-demo
|
| 17 |
- off-grid
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# 👁️ Iris — your father's eyes, by voice
|
|
@@ -22,6 +23,7 @@ tags:
|
|
| 22 |
> Built for the **Build Small Hackathon** · **Backyard AI** track · for my father, who is blind.
|
| 23 |
|
| 24 |
**Try it live:** https://huggingface.co/spaces/build-small-hackathon/iris (open on a phone)
|
|
|
|
| 25 |
**Demo video:** _‹add link›_ · **Social post:** _‹add link›_
|
| 26 |
|
| 27 |
Iris is a voice-first assistant for blind and low-vision people. Open it on a phone,
|
|
|
|
| 15 |
- off-brand
|
| 16 |
- best-demo
|
| 17 |
- off-grid
|
| 18 |
+
- sharing-is-caring
|
| 19 |
---
|
| 20 |
|
| 21 |
# 👁️ Iris — your father's eyes, by voice
|
|
|
|
| 23 |
> Built for the **Build Small Hackathon** · **Backyard AI** track · for my father, who is blind.
|
| 24 |
|
| 25 |
**Try it live:** https://huggingface.co/spaces/build-small-hackathon/iris (open on a phone)
|
| 26 |
+
**How it was built (agent trace):** https://huggingface.co/datasets/build-small-hackathon/iris-agent-trace
|
| 27 |
**Demo video:** _‹add link›_ · **Social post:** _‹add link›_
|
| 28 |
|
| 29 |
Iris is a voice-first assistant for blind and low-vision people. Open it on a phone,
|
core/trace.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
"""Lightweight
|
| 2 |
|
| 3 |
Appends one JSON line per inference to IRIS_TRACE_FILE. Opt-in via IRIS_TRACE=1.
|
| 4 |
Privacy: no raw images or audio are stored — only metadata and the produced text,
|
|
|
|
| 1 |
+
"""Lightweight runtime inference-trace logger (optional open inference log).
|
| 2 |
|
| 3 |
Appends one JSON line per inference to IRIS_TRACE_FILE. Opt-in via IRIS_TRACE=1.
|
| 4 |
Privacy: no raw images or audio are stored — only metadata and the produced text,
|
scripts/publish_trace.py
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
-
"""Publish Iris's inference traces as a Hugging Face Dataset.
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
|
| 7 |
How to run (on Marcus's machine, with an HF token in the `build-small-hackathon` org):
|
| 8 |
|
|
|
|
| 1 |
+
"""Publish Iris's runtime inference traces as a Hugging Face Dataset (optional).
|
| 2 |
|
| 3 |
+
This is an OPEN INFERENCE LOG of the running app — a privacy-safe operational
|
| 4 |
+
record (only the produced text + metadata, never raw images or audio; see
|
| 5 |
+
core/trace.py). It is complementary to the *coding-agent* build trace at
|
| 6 |
+
build-small-hackathon/iris-agent-trace, which is what earns the 'Sharing is
|
| 7 |
+
Caring' merit badge.
|
| 8 |
|
| 9 |
How to run (on Marcus's machine, with an HF token in the `build-small-hackathon` org):
|
| 10 |
|