voice-mode 2.34.1__py3-none-any.whl → 3.34.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- voice_mode/__version__.py +1 -1
- voice_mode/tools/service.py +1 -7
- voice_mode/utils/services/kokoro_helpers.py +16 -3
- {voice_mode-2.34.1.dist-info → voice_mode-3.34.3.dist-info}/METADATA +1 -1
- {voice_mode-2.34.1.dist-info → voice_mode-3.34.3.dist-info}/RECORD +7 -7
- {voice_mode-2.34.1.dist-info → voice_mode-3.34.3.dist-info}/WHEEL +0 -0
- {voice_mode-2.34.1.dist-info → voice_mode-3.34.3.dist-info}/entry_points.txt +0 -0
voice_mode/__version__.py
CHANGED
voice_mode/tools/service.py
CHANGED
@@ -73,14 +73,12 @@ def get_service_config_vars(service_name: str) -> Dict[str, Any]:
|
|
73
73
|
# Try GPU scripts first
|
74
74
|
possible_scripts = [
|
75
75
|
Path(kokoro_dir) / "start-gpu.sh",
|
76
|
-
Path(kokoro_dir) / "start.sh", # fallback
|
77
76
|
Path(kokoro_dir) / "start-cpu.sh" # last resort
|
78
77
|
]
|
79
78
|
else:
|
80
79
|
# No GPU, prefer CPU script
|
81
80
|
possible_scripts = [
|
82
81
|
Path(kokoro_dir) / "start-cpu.sh",
|
83
|
-
Path(kokoro_dir) / "start.sh", # fallback
|
84
82
|
Path(kokoro_dir) / "start-gpu.sh" # might work with CPU fallback
|
85
83
|
]
|
86
84
|
|
@@ -409,14 +407,12 @@ async def start_service(service_name: str) -> str:
|
|
409
407
|
# Try GPU scripts first
|
410
408
|
possible_scripts = [
|
411
409
|
Path(kokoro_dir) / "start-gpu.sh",
|
412
|
-
Path(kokoro_dir) / "start.sh", # fallback
|
413
410
|
Path(kokoro_dir) / "start-cpu.sh" # last resort
|
414
411
|
]
|
415
412
|
else:
|
416
413
|
# No GPU, prefer CPU script
|
417
414
|
possible_scripts = [
|
418
415
|
Path(kokoro_dir) / "start-cpu.sh",
|
419
|
-
Path(kokoro_dir) / "start.sh", # fallback
|
420
416
|
Path(kokoro_dir) / "start-gpu.sh" # might work with CPU fallback
|
421
417
|
]
|
422
418
|
|
@@ -688,14 +684,12 @@ async def enable_service(service_name: str) -> str:
|
|
688
684
|
# Try GPU scripts first
|
689
685
|
possible_scripts = [
|
690
686
|
Path(kokoro_dir) / "start-gpu.sh",
|
691
|
-
Path(kokoro_dir) / "start.sh", # fallback
|
692
687
|
Path(kokoro_dir) / "start-cpu.sh" # last resort
|
693
688
|
]
|
694
689
|
else:
|
695
690
|
# No GPU, prefer CPU script
|
696
691
|
possible_scripts = [
|
697
692
|
Path(kokoro_dir) / "start-cpu.sh",
|
698
|
-
Path(kokoro_dir) / "start.sh", # fallback
|
699
693
|
Path(kokoro_dir) / "start-gpu.sh" # might work with CPU fallback
|
700
694
|
]
|
701
695
|
|
@@ -1100,4 +1094,4 @@ async def uninstall_service(service_name: str) -> Dict[str, Any]:
|
|
1100
1094
|
|
1101
1095
|
except Exception as e:
|
1102
1096
|
logger.error(f"Error uninstalling service {service_name}: {e}")
|
1103
|
-
return {"success": False, "error": str(e)}
|
1097
|
+
return {"success": False, "error": str(e)}
|
@@ -24,9 +24,22 @@ def find_kokoro_fastapi() -> Optional[str]:
|
|
24
24
|
if platform.system() == "Darwin":
|
25
25
|
start_script = path / "start-gpu_mac.sh"
|
26
26
|
else:
|
27
|
-
|
27
|
+
# Check for appropriate start script
|
28
|
+
if has_gpu_support():
|
29
|
+
# Prefer GPU script, fallback to general start
|
30
|
+
possible_scripts = [
|
31
|
+
path / "start-gpu.sh"
|
32
|
+
]
|
33
|
+
else:
|
34
|
+
# Prefer CPU script, fallback to general start
|
35
|
+
possible_scripts = [
|
36
|
+
path / "start-cpu.sh"
|
37
|
+
]
|
38
|
+
|
39
|
+
# Find first existing script
|
40
|
+
start_script = next((script for script in possible_scripts if script.exists()), None)
|
28
41
|
|
29
|
-
if start_script.exists():
|
42
|
+
if start_script and start_script.exists():
|
30
43
|
return str(path)
|
31
44
|
|
32
45
|
return None
|
@@ -37,4 +50,4 @@ def has_gpu_support() -> bool:
|
|
37
50
|
|
38
51
|
This is a wrapper around the shared GPU detection utility.
|
39
52
|
"""
|
40
|
-
return _has_gpu_support()
|
53
|
+
return _has_gpu_support()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: voice-mode
|
3
|
-
Version:
|
3
|
+
Version: 3.34.3
|
4
4
|
Summary: VoiceMode - Voice interaction capabilities for AI assistants (formerly voice-mcp)
|
5
5
|
Project-URL: Homepage, https://github.com/mbailey/voicemode
|
6
6
|
Project-URL: Repository, https://github.com/mbailey/voicemode
|
@@ -1,6 +1,6 @@
|
|
1
1
|
voice_mode/__init__.py,sha256=PDCwE2rrm8yyYxEiQQJkznQ_4xYp3DWIxGSB84K_mnI,346
|
2
2
|
voice_mode/__main__.py,sha256=td-njie1XgkR-NrQjOEUse4TSJBC8DAmYywHum3V6WQ,138
|
3
|
-
voice_mode/__version__.py,sha256=
|
3
|
+
voice_mode/__version__.py,sha256=KIIf9nQYfYK7t1sNWJSibyk_kOsWYKJP0xdGjo5R1_8,101
|
4
4
|
voice_mode/cli.py,sha256=Oa37Rr9N6hO-HANZ281FKKqfSL8uutZPn3HNRjpRDXw,71154
|
5
5
|
voice_mode/config.py,sha256=eywNce3INGFNNU1A5ux806fzsg23G3gfLaD04mLnPPM,27867
|
6
6
|
voice_mode/conversation_logger.py,sha256=Nar92xabhaVmMKdZdLmgoYckK9fGAVVYWdass3-EI1I,9363
|
@@ -75,7 +75,7 @@ voice_mode/tools/dependencies.py,sha256=V72gS_bD0pCmW_be2Hxs_cEnIoNPFKlK7rE9cLMT
|
|
75
75
|
voice_mode/tools/devices.py,sha256=v0KV-Rix2lKZMFfVcobHiJB_6NnPAJsuZI5LXYHlgl0,10446
|
76
76
|
voice_mode/tools/diagnostics.py,sha256=pWl9wwaBMJubBKhWOVbNIGeYet84ECVshtPok-v2pl8,2059
|
77
77
|
voice_mode/tools/providers.py,sha256=KuO5lFmSHjYUoK3hjIqx3l7XeNOLPMAeXQnTtH00Iow,7768
|
78
|
-
voice_mode/tools/service.py,sha256=
|
78
|
+
voice_mode/tools/service.py,sha256=ll7BsUdSaXSGjtElZf7vSmOspe92ZIyIB-UaYbLrdf4,46454
|
79
79
|
voice_mode/tools/statistics.py,sha256=XMljbNCBqatPgyh6rq1LZ3ICNEmji2c82P7pyCZfr8Q,9326
|
80
80
|
voice_mode/tools/voice_registry.py,sha256=iw3O4C8lsdon9fr1ZMchc0Uq7MmSmTOYReY9NfQlEhU,2354
|
81
81
|
voice_mode/tools/services/list_versions.py,sha256=r_FzHG_2dVxEzDXfxVfPInchGq1h9_4yvJ9ySkinsJk,2573
|
@@ -106,11 +106,11 @@ voice_mode/utils/migration_helpers.py,sha256=kdWzqraScSC3DV2w5q9VVShjlyTXW1_9kCQ
|
|
106
106
|
voice_mode/utils/version_helpers.py,sha256=--DMVBojs3EH9I-wkNSx87lfNWpCfvZBjecvtPLHWEw,5992
|
107
107
|
voice_mode/utils/services/common.py,sha256=EpkQfH6Ku_meqQdWRC4gFxMy1-Z1YyTfUxDdV9gZWTo,2994
|
108
108
|
voice_mode/utils/services/coreml_setup.py,sha256=Fo4l1MwsEElH8UQFCQMKgo3rYnPqJDfzzJ4hCqQ9SYI,8714
|
109
|
-
voice_mode/utils/services/kokoro_helpers.py,sha256=
|
109
|
+
voice_mode/utils/services/kokoro_helpers.py,sha256=57NsS1i4ptk5Gg3zm5g68QhtV3aU35TSk2tGPFfIiUA,1804
|
110
110
|
voice_mode/utils/services/livekit_helpers.py,sha256=OFw0GxVIJAZE2m9dGCDZVegWD-LnMO6iSjcOUDgAA9U,3627
|
111
111
|
voice_mode/utils/services/whisper_helpers.py,sha256=1Oy9TR5g5-l6j07KaWlAoijkCUDGaTWIz__BXvV0TWw,19632
|
112
112
|
voice_mode/utils/services/whisper_version.py,sha256=68e0Oa-tG73IJlla-e3P0sh_qzBF4ToYBe4KKZ2FvEY,4861
|
113
|
-
voice_mode-
|
114
|
-
voice_mode-
|
115
|
-
voice_mode-
|
116
|
-
voice_mode-
|
113
|
+
voice_mode-3.34.3.dist-info/METADATA,sha256=9ua11xQPGucNlxKqg_247bFI1sj_HWkdCMB9PDp6_wo,25300
|
114
|
+
voice_mode-3.34.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
115
|
+
voice_mode-3.34.3.dist-info/entry_points.txt,sha256=hS5faHc0R5Fde3Z_uvz8u6YkRIYtvh17X8tVN90Rbro,95
|
116
|
+
voice_mode-3.34.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|