stttype 2.0.2__tar.gz → 2.0.3__tar.gz
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.
- {stttype-2.0.2 → stttype-2.0.3}/PKG-INFO +1 -1
- {stttype-2.0.2 → stttype-2.0.3}/pyproject.toml +1 -1
- {stttype-2.0.2 → stttype-2.0.3}/stttype/config_ui.py +14 -3
- {stttype-2.0.2 → stttype-2.0.3}/stttype.egg-info/PKG-INFO +1 -1
- {stttype-2.0.2 → stttype-2.0.3}/README.md +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/setup.cfg +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype/__init__.py +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype/bell.py +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype/cli.py +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype/main.py +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype/recorder.py +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype/recorder_indicator.py +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype/transcriber.py +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype/typer.py +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype.egg-info/SOURCES.txt +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype.egg-info/dependency_links.txt +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype.egg-info/entry_points.txt +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype.egg-info/requires.txt +0 -0
- {stttype-2.0.2 → stttype-2.0.3}/stttype.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "stttype"
|
|
7
|
-
version = "2.0.
|
|
7
|
+
version = "2.0.3"
|
|
8
8
|
description = "Cross-platform voice-to-text typing assistant with GPU acceleration and automatic CPU fallback"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -186,11 +186,22 @@ def run_config_ui():
|
|
|
186
186
|
btn_frame.pack(pady=20)
|
|
187
187
|
|
|
188
188
|
def on_save():
|
|
189
|
+
# Ensure we extract raw values (not display labels)
|
|
190
|
+
dev_val = device_var.get()
|
|
191
|
+
if " - " in dev_val:
|
|
192
|
+
dev_val = dev_val.split(" - ")[0]
|
|
193
|
+
comp_val = compute_var.get()
|
|
194
|
+
if " - " in comp_val:
|
|
195
|
+
comp_val = comp_val.split(" - ")[0]
|
|
196
|
+
lang_val = lang_var.get()
|
|
197
|
+
if " - " in lang_val:
|
|
198
|
+
lang_val = lang_val.split(" - ")[0]
|
|
199
|
+
|
|
189
200
|
new_config = {
|
|
190
201
|
"model": model_var.get(),
|
|
191
|
-
"language":
|
|
192
|
-
"device":
|
|
193
|
-
"compute_type":
|
|
202
|
+
"language": lang_val,
|
|
203
|
+
"device": dev_val,
|
|
204
|
+
"compute_type": comp_val,
|
|
194
205
|
"hotkey": hotkey_var.get().lower(),
|
|
195
206
|
}
|
|
196
207
|
save_config(new_config)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|