Spaces:
Running
Running
Commit
·
84426b5
1
Parent(s):
9b00605
Suppress audio backend warning spam
Browse files- reachy_phone_home/main.py +2 -0
- reachy_phone_home_app.py +1 -0
reachy_phone_home/main.py
CHANGED
|
@@ -4,6 +4,7 @@ import os
|
|
| 4 |
import queue
|
| 5 |
import random
|
| 6 |
import sys
|
|
|
|
| 7 |
import tempfile
|
| 8 |
import threading
|
| 9 |
import time
|
|
@@ -243,6 +244,7 @@ class ReachyPhoneHome(ReachyMiniApp):
|
|
| 243 |
time.sleep(0.1)
|
| 244 |
|
| 245 |
def run(self, reachy_mini: ReachyMini, stop_event: threading.Event):
|
|
|
|
| 246 |
moves = SituationMovements(reachy_mini)
|
| 247 |
|
| 248 |
ambient_cycle = self._cycle_movements(moves.ambient())
|
|
|
|
| 4 |
import queue
|
| 5 |
import random
|
| 6 |
import sys
|
| 7 |
+
import logging
|
| 8 |
import tempfile
|
| 9 |
import threading
|
| 10 |
import time
|
|
|
|
| 244 |
time.sleep(0.1)
|
| 245 |
|
| 246 |
def run(self, reachy_mini: ReachyMini, stop_event: threading.Event):
|
| 247 |
+
logging.getLogger("reachy_mini.media.audio_base").setLevel(logging.ERROR)
|
| 248 |
moves = SituationMovements(reachy_mini)
|
| 249 |
|
| 250 |
ambient_cycle = self._cycle_movements(moves.ambient())
|
reachy_phone_home_app.py
CHANGED
|
@@ -113,6 +113,7 @@ def _download_file(url: str, dest: Path) -> None:
|
|
| 113 |
|
| 114 |
|
| 115 |
def main() -> None:
|
|
|
|
| 116 |
parser = argparse.ArgumentParser(description="Reachy phone use tracker (YOLO26l)")
|
| 117 |
parser.add_argument("--weights", type=str, default="yolo26l")
|
| 118 |
parser.add_argument("--conf", type=float, default=0.15)
|
|
|
|
| 113 |
|
| 114 |
|
| 115 |
def main() -> None:
|
| 116 |
+
logging.getLogger("reachy_mini.media.audio_base").setLevel(logging.ERROR)
|
| 117 |
parser = argparse.ArgumentParser(description="Reachy phone use tracker (YOLO26l)")
|
| 118 |
parser.add_argument("--weights", type=str, default="yolo26l")
|
| 119 |
parser.add_argument("--conf", type=float, default=0.15)
|