Nicholas Bumgarner commited on
Commit
a570df2
·
1 Parent(s): 8f7952f

Init ring buffers in start_mixer

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -304,6 +304,7 @@ def start_mixer():
304
  except Exception as e:
305
  return f"Failed to download model: {e}"
306
  # Launch mixer binary — it runs inference and outputs to stdout
 
307
  _mixer_proc = subprocess.Popen(
308
  [MIXER_BIN, MODEL_PATH, "-s", "2"],
309
  stdout=open(STATE_LOG, 'a'),
 
304
  except Exception as e:
305
  return f"Failed to download model: {e}"
306
  # Launch mixer binary — it runs inference and outputs to stdout
307
+ init_ring_buffers()
308
  _mixer_proc = subprocess.Popen(
309
  [MIXER_BIN, MODEL_PATH, "-s", "2"],
310
  stdout=open(STATE_LOG, 'a'),