Commit ·
d00fdca
1
Parent(s): 6a3e3dc
Add simple __main__.py for Hugging Face Spaces display
Browse filesThis just prints a message explaining that the app needs to run on
Reachy Mini. The actual app logic is in app.py:ReachyMiniHAVoiceApp.
reachy_mini_ha_voice/__main__.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Main entry point - for Hugging Face Spaces display only.
|
| 3 |
+
|
| 4 |
+
This application is designed to run on Reachy Mini robots.
|
| 5 |
+
To use it, install the app on your Reachy Mini from the dashboard.
|
| 6 |
+
|
| 7 |
+
For standalone usage, this would require command-line arguments:
|
| 8 |
+
python -m reachy_mini_ha_voice --name "ReachyMini"
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
import sys
|
| 12 |
+
|
| 13 |
+
if __name__ == "__main__":
|
| 14 |
+
print("Reachy Mini Home Assistant Voice Assistant")
|
| 15 |
+
print("=" * 50)
|
| 16 |
+
print()
|
| 17 |
+
print("This application is designed to run on Reachy Mini robots.")
|
| 18 |
+
print()
|
| 19 |
+
print("To use it:")
|
| 20 |
+
print("1. Install this app on your Reachy Mini from the dashboard")
|
| 21 |
+
print("2. Enable the app in the Reachy Mini applications section")
|
| 22 |
+
print("3. The ESPHome voice assistant will start on port 6053")
|
| 23 |
+
print("4. Home Assistant will auto-discover the device")
|
| 24 |
+
print()
|
| 25 |
+
print("For more information, see:")
|
| 26 |
+
print("https://huggingface.co/spaces/djhui5710/reachy_mini_ha_voice")
|
| 27 |
+
print()
|
| 28 |
+
sys.exit(0)
|