talks-reducer 0.6.3__py3-none-any.whl → 0.7.1__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.
- talks_reducer/__about__.py +1 -1
- talks_reducer/cli.py +9 -3
- talks_reducer/{gui.py → gui/__init__.py} +375 -1192
- talks_reducer/gui/__main__.py +8 -0
- talks_reducer/gui/discovery.py +126 -0
- talks_reducer/gui/layout.py +526 -0
- talks_reducer/gui/preferences.py +113 -0
- talks_reducer/gui/remote.py +356 -0
- talks_reducer/gui/theme.py +269 -0
- talks_reducer/models.py +1 -1
- talks_reducer/pipeline.py +142 -92
- talks_reducer/server.py +52 -4
- talks_reducer/service_client.py +56 -4
- {talks_reducer-0.6.3.dist-info → talks_reducer-0.7.1.dist-info}/METADATA +14 -5
- talks_reducer-0.7.1.dist-info/RECORD +29 -0
- talks_reducer-0.6.3.dist-info/RECORD +0 -23
- {talks_reducer-0.6.3.dist-info → talks_reducer-0.7.1.dist-info}/WHEEL +0 -0
- {talks_reducer-0.6.3.dist-info → talks_reducer-0.7.1.dist-info}/entry_points.txt +0 -0
- {talks_reducer-0.6.3.dist-info → talks_reducer-0.7.1.dist-info}/licenses/LICENSE +0 -0
- {talks_reducer-0.6.3.dist-info → talks_reducer-0.7.1.dist-info}/top_level.txt +0 -0
talks_reducer/__about__.py
CHANGED
talks_reducer/cli.py
CHANGED
@@ -169,11 +169,16 @@ def _process_via_server(
|
|
169
169
|
file=sys.stderr,
|
170
170
|
)
|
171
171
|
|
172
|
+
remote_option_values: Dict[str, float] = {}
|
173
|
+
if parsed_args.silent_threshold is not None:
|
174
|
+
remote_option_values["silent_threshold"] = float(parsed_args.silent_threshold)
|
175
|
+
if parsed_args.silent_speed is not None:
|
176
|
+
remote_option_values["silent_speed"] = float(parsed_args.silent_speed)
|
177
|
+
if parsed_args.sounded_speed is not None:
|
178
|
+
remote_option_values["sounded_speed"] = float(parsed_args.sounded_speed)
|
179
|
+
|
172
180
|
unsupported_options = []
|
173
181
|
for name in (
|
174
|
-
"silent_threshold",
|
175
|
-
"silent_speed",
|
176
|
-
"sounded_speed",
|
177
182
|
"frame_spreadage",
|
178
183
|
"sample_rate",
|
179
184
|
"temp_folder",
|
@@ -231,6 +236,7 @@ def _process_via_server(
|
|
231
236
|
output_path=output_override,
|
232
237
|
server_url=server_url,
|
233
238
|
small=bool(parsed_args.small),
|
239
|
+
**remote_option_values,
|
234
240
|
log_callback=_stream_server_log,
|
235
241
|
stream_updates=stream_updates,
|
236
242
|
progress_callback=_stream_progress if stream_updates else None,
|