neural-amp-modeler

Neural network emulator for guitar amplifiers
Log | Files | Refs | README | LICENSE

commit 6ff5d9ca7462ea6c66e25956dd38b473668244d4
parent 287945447a0f28ba4199b6a5c09d64451e6a6449
Author: Steven Atkinson <[email protected]>
Date:   Mon,  6 Nov 2023 17:37:32 -0800

Fix bug, bump patch version (#331)

* Fix bug

* Automatic latest version

* Patch version bump in preparation for release
Diffstat:
Mnam/_version.py | 2+-
Mnam/train/gui.py | 7+++++--
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/nam/_version.py b/nam/_version.py @@ -1 +1 @@ -__version__ = "0.7.2" +__version__ = "0.7.3" diff --git a/nam/train/gui.py b/nam/train/gui.py @@ -34,13 +34,16 @@ from pathlib import Path from tkinter import filedialog from typing import Callable, Dict, Optional, Sequence -try: +try: # 3rd-party and 1st-party imports import torch from nam import __version__ from nam.train import core from nam.models.metadata import GearType, UserMetadata, ToneType + # Ok private access here--this is technically allowed access + from nam.train._names import LATEST_VERSION + _install_is_valid = True _HAVE_ACCELERATOR = torch.cuda.is_available() or torch.backends.mps.is_available() except ImportError: @@ -170,7 +173,7 @@ class _GUI(object): self._path_button_input = _PathButton( self._frame_input_path, "Input Audio", - "Select input DI file (eg: v3_0_0.wav)", + f"Select input DI file (e.g. {LATEST_VERSION.name})", _PathType.FILE, hooks=[self._check_button_states], )