thecollabagepatch commited on
Commit
09491d9
·
1 Parent(s): 6d0aea5

when print statements break stuff

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ def take_bar_aligned_tail(wav, bpm, beats_per_bar, ctx_seconds, max_bars=None):
147
  anchored to the end of `wav`, and bar-aligned.
148
  """
149
  spb = (60.0 / bpm) * beats_per_bar
150
- print(f"[MRT] bpm={bpm}, spb={spb:.4f}, ctx_frames={mrt.config.context_length_frames}, fps={mrt.codec.frame_rate}")
151
  bars_needed = max(1, int(round(ctx_seconds / spb)))
152
  if max_bars is not None:
153
  bars_needed = min(bars_needed, max_bars)
 
147
  anchored to the end of `wav`, and bar-aligned.
148
  """
149
  spb = (60.0 / bpm) * beats_per_bar
150
+
151
  bars_needed = max(1, int(round(ctx_seconds / spb)))
152
  if max_bars is not None:
153
  bars_needed = min(bars_needed, max_bars)