Commit Graph

3 Commits

Author SHA1 Message Date
H1K0 3a5db4dd5c feat(app): move generate button next to the output panels
The button sat at the bottom of a long form while results render in the
right column, forcing a scroll up/down on every run. Place it at the top
of the output column so repeated generation needs no scrolling.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 21:17:54 +03:00
H1K0 d1af7bceb8 feat(app): show generation progress and rename app heading
- Disable the run button and show a "Генерация…" status while a request is
  processing, then re-enable it. Repeated generations previously gave no
  visible feedback once the model was cached, so it was unclear whether a
  request was running.
- Append elapsed time to the final status so identical re-runs differ visibly.
- Rename the H1 heading and browser/tab title to
  "генератор аккордовых последовательностей".

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 21:00:29 +03:00
H1K0 c147c47acb feat: add minimal Gradio web UI (app.py)
Single-page form wrapping src.generate.generate_period: pick model, mode,
key, style, function, time, sampling params and optional prefix; returns
the chord grid plus downloadable .chord and .mid files. Russian usage
instructions are embedded on the same page.

Auto-length output is capped at 16 bars (the period maximum) so a model
that never emits EOS can't run away into dozens of NC/hold bars.

Added per the author's explicit request — web UI was previously out of
scope; updated CLAUDE.md and README accordingly. Choices for style/
function/time are derived from VOCAB so the form can't drift from the
tokenizer.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 15:38:01 +03:00