From a3da7452d8c09cd39c4fb3ea0969202e850dd274 Mon Sep 17 00:00:00 2001 From: Vignesh Rao Date: Sun, 29 Dec 2024 16:37:59 -0600 Subject: [PATCH] Fix `AVCaptureDeviceTypeExternal` warning from `opencv` due to `Continuity Camera` in iOS Remove auto trigger for speech-synthesis API Restructure startup validations --- docs/_sources/index.rst.txt | 13 +- docs/genindex.html | 64 ++--- docs/index.html | 214 +++++---------- docs/objects.inv | Bin 8825 -> 8778 bytes docs/py-modindex.html | 10 +- docs/searchindex.js | 2 +- docs_gen/index.rst | 13 +- jarvis/api/routers/speech_synthesis.py | 13 +- jarvis/executors/controls.py | 41 --- jarvis/executors/process_map.py | 6 - jarvis/executors/processor.py | 1 - jarvis/lib/version_pinned_requirements.txt | 1 - jarvis/modules/audio/speaker.py | 11 +- jarvis/modules/audio/speech_synthesis.py | 296 --------------------- jarvis/modules/camera/camera.py | 2 +- jarvis/modules/models/classes.py | 2 - jarvis/modules/models/models.py | 139 +--------- jarvis/modules/models/validators.py | 180 +++++++++++++ 18 files changed, 316 insertions(+), 692 deletions(-) delete mode 100644 jarvis/modules/audio/speech_synthesis.py create mode 100644 jarvis/modules/models/validators.py diff --git a/docs/_sources/index.rst.txt b/docs/_sources/index.rst.txt index 93804e8c..3c173d61 100644 --- a/docs/_sources/index.rst.txt +++ b/docs/_sources/index.rst.txt @@ -736,6 +736,13 @@ Squire :members: :undoc-members: +Validators +========== + +.. automodule:: jarvis.modules.models.validators + :members: + :undoc-members: + ----------Modules---------- =========================== Audio @@ -753,12 +760,6 @@ Audio ==== -.. automodule:: jarvis.modules.audio.speech_synthesis - :members: - :undoc-members: - -==== - .. automodule:: jarvis.modules.audio.tts_stt :members: :undoc-members: diff --git a/docs/genindex.html b/docs/genindex.html index 54f1017f..66265e6d 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -347,10 +347,6 @@

C

  • Chat (class in jarvis.modules.telegram.settings)
  • check_empty_string() (jarvis.modules.models.classes.BackgroundTask class method) -
  • -
  • check_existing() (in module jarvis.modules.audio.speech_synthesis) -
  • -
  • check_external() (in module jarvis.modules.audio.speech_synthesis)
  • check_hours_format() (jarvis.modules.models.classes.BackgroundTask class method)
  • @@ -380,10 +376,10 @@

    C

  • closest_minimum() (jarvis.api.triggers.stock_monitor.StockMonitor static method)
  • - - +
  • find_name() (in module jarvis.executors.remind) -
  • -
  • find_pid_by_port() (in module jarvis.modules.audio.speech_synthesis)
  • first_name (jarvis.modules.telegram.settings.Chat attribute)
  • @@ -1684,13 +1676,6 @@

    J

    -
  • - jarvis.modules.audio.speech_synthesis - -
  • @@ -1859,6 +1844,13 @@

    J

  • +
  • + jarvis.modules.models.validators + +
  • @@ -2354,8 +2346,6 @@

    M

  • jarvis.modules.audio.listener
  • jarvis.modules.audio.speaker -
  • -
  • jarvis.modules.audio.speech_synthesis
  • jarvis.modules.audio.tts_stt
  • @@ -2404,6 +2394,8 @@

    M

  • jarvis.modules.models.models
  • jarvis.modules.models.squire +
  • +
  • jarvis.modules.models.validators
  • jarvis.modules.peripherals
  • @@ -2805,11 +2797,11 @@

    R

  • reset_robinhood() (in module jarvis.api.squire.timeout_otp)
  • reset_stock_monitor() (in module jarvis.api.squire.timeout_otp) -
  • -
  • reset_surveillance() (in module jarvis.api.squire.timeout_otp)
  • -
  • run_existing_container() (in module jarvis.modules.audio.speech_synthesis) -
  • run_in_parallel() (jarvis.modules.builtin_overrides.APIServer method) -
  • -
  • run_new_container() (in module jarvis.modules.audio.speech_synthesis)
  • run_subprocess() (in module jarvis.lib.installer)
  • @@ -3006,23 +2994,17 @@

    S

  • speaker_volume() (in module jarvis.executors.volume)
  • + + -