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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stttype
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: Cross-platform voice-to-text typing assistant with GPU acceleration and automatic CPU fallback
5
5
  Author: LucasApps
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "stttype"
7
- version = "2.0.2"
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": lang_var.get(),
192
- "device": device_var.get(),
193
- "compute_type": compute_var.get(),
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stttype
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: Cross-platform voice-to-text typing assistant with GPU acceleration and automatic CPU fallback
5
5
  Author: LucasApps
6
6
  License: MIT
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