Hermes Bot commited on
fix(tinybard): add libespeak-ng-dev and show_error=True for better HF error reporting
Browse files- .agents/tasks/TASK.2026-06-10_espeak_dev.md +15 -0
- packages.txt +1 -0
- projects/tinybard/app.py +1 -1
.agents/tasks/TASK.2026-06-10_espeak_dev.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Task: TinyBard HF Espeak Development Packages Integration
|
| 2 |
+
|
| 3 |
+
- Branch: fix/tinybard-hf-espeak-dev
|
| 4 |
+
- Date: 2026-06-10
|
| 5 |
+
|
| 6 |
+
## Chain-of-Draft
|
| 7 |
+
|
| 8 |
+
1. Initialize task file.
|
| 9 |
+
2. Update packages.txt with libespeak-ng-dev.
|
| 10 |
+
3. Add show_error=True in app.py.
|
| 11 |
+
4. Merge and push.
|
| 12 |
+
5. Verify on HF Space.
|
| 13 |
+
|
| 14 |
+
####
|
| 15 |
+
Proceeding with implementation.
|
packages.txt
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
espeak-ng
|
|
|
|
|
|
| 1 |
espeak-ng
|
| 2 |
+
libespeak-ng-dev
|
projects/tinybard/app.py
CHANGED
|
@@ -1517,7 +1517,7 @@ if __name__ == "__main__":
|
|
| 1517 |
# On HF Spaces, the platform handles the server — just launch Gradio
|
| 1518 |
if os.environ.get("SPACE_ID"):
|
| 1519 |
log.info("Running on HF Spaces — launching Gradio directly")
|
| 1520 |
-
gradio_blocks.launch(server_name="0.0.0.0", server_port=7860)
|
| 1521 |
else:
|
| 1522 |
import uvicorn
|
| 1523 |
port = int(os.environ.get("PORT", "7860"))
|
|
|
|
| 1517 |
# On HF Spaces, the platform handles the server — just launch Gradio
|
| 1518 |
if os.environ.get("SPACE_ID"):
|
| 1519 |
log.info("Running on HF Spaces — launching Gradio directly")
|
| 1520 |
+
gradio_blocks.launch(server_name="0.0.0.0", server_port=7860, show_error=True)
|
| 1521 |
else:
|
| 1522 |
import uvicorn
|
| 1523 |
port = int(os.environ.get("PORT", "7860"))
|