Compare commits
2 Commits
46215a8aef
...
98fc0596d4
| Author | SHA1 | Date | |
|---|---|---|---|
|
98fc0596d4
|
|||
|
7059ebda4c
|
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "pyvtt"
|
name = "pyvtt"
|
||||||
version = "0.4.3"
|
version = "0.4.4"
|
||||||
description = "Python Voice to Text + LLMA"
|
description = "Python Voice to Text + LLMA"
|
||||||
authors = [{ name = "Max P.", email = "Mail@MPassarello.de" }]
|
authors = [{ name = "Max P.", email = "Mail@MPassarello.de" }]
|
||||||
license = { text = "MIT" }
|
license = { text = "MIT" }
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import argparse
|
|||||||
from pyvtt.configuration import read_configurations
|
from pyvtt.configuration import read_configurations
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
CONFIGURATION = read_configurations()
|
CONFIG = read_configurations()
|
||||||
|
|
||||||
|
|
||||||
def send_cmd(cmd: str, socket_path: str, preset: Optional[str] = None) -> None:
|
def send_cmd(cmd: str, socket_path: str, preset: Optional[str] = None) -> None:
|
||||||
@@ -62,4 +62,4 @@ def main():
|
|||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
send_cmd(args.command, CONFIGURATION["socket_path"], args.preset)
|
send_cmd(args.command, CONFIG.socket_path, args.preset)
|
||||||
Reference in New Issue
Block a user