diff options
| author | yum <yum.food.vr@gmail.com> | 2022-10-20 18:41:01 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2022-10-20 18:41:01 -0700 |
| commit | d7c225ab3fcad600e93e9464886702fd269fedd5 (patch) | |
| tree | e1c90ab928895cd782819c1d6da19f59a33a5afe /osc_ctrl.py | |
| parent | 247f163efd46a58b2fbb5e7e26e0d141252dc651 (diff) | |
Quiet down transcribe.py
Also adjust continuous transcription algorithm to use leftmost minimum
instead of rightmost. This prevents some cases where we generate longer
and longer text.
Diffstat (limited to 'osc_ctrl.py')
| -rw-r--r-- | osc_ctrl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osc_ctrl.py b/osc_ctrl.py index 761ff78..5b4b3f6 100644 --- a/osc_ctrl.py +++ b/osc_ctrl.py @@ -262,13 +262,13 @@ def sendMessageLazy(client, msg, tx_state): if cell_msg == [state.encoding[' ']] * NUM_LAYERS: if empty_cells_sent >= tx_state.empty_cells_to_send_per_call: - print("empty cell budget exceeded") + #print("empty cell budget exceeded") tx_state.last_msg_encoded = msg_encoded[0:cell_end] return False empty_cells_sent += 1 else: if nonempty_cells_sent >= tx_state.nonempty_cells_to_send_per_call: - print("nonempty cell budget exceeded") + #print("nonempty cell budget exceeded") tx_state.last_msg_encoded = msg_encoded[0:cell_end] return False nonempty_cells_sent += 1 |
