Skip to content

Commit

Permalink
Fix bug, bump patch version (#331)
Browse files Browse the repository at this point in the history
* Fix bug

* Automatic latest version

* Patch version bump in preparation for release
  • Loading branch information
sdatkinson committed Nov 7, 2023
1 parent 2879454 commit 6ff5d9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nam/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.2"
__version__ = "0.7.3"
7 changes: 5 additions & 2 deletions nam/train/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@ def _ensure_graceful_shutdowns():
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:
Expand Down Expand Up @@ -170,7 +173,7 @@ def __init__(self):
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],
)
Expand Down

0 comments on commit 6ff5d9c

Please sign in to comment.