Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
edwko committed Jan 15, 2025
1 parent 7f039a8 commit ad5ba96
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion outetts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.3.1"
__version__ = "0.3.2"

from .interface import InterfaceHF, InterfaceGGUF, InterfaceEXL2, display_available_models
from .interface import HFModelConfig_v1, GGUFModelConfig_v1, EXL2ModelConfig_v1
Expand Down
9 changes: 0 additions & 9 deletions outetts/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ def InterfaceHF(

config = get_model_config(model_version)

if model_version not in ["0.1", "0.2", "0.3"]:
raise ValueError(f"Invalid model version!")

if model_version == "0.3":
if cfg.tokenizer_path is None:
raise ValueError(f"tokenizer_path must be provided!")
Expand Down Expand Up @@ -145,9 +142,6 @@ def InterfaceGGUF(

config = get_model_config(model_version)

if model_version not in ["0.1", "0.2", "0.3"]:
raise ValueError(f"Invalid model version!")

if model_version == "0.3":
if cfg.tokenizer_path is None:
raise ValueError(f"tokenizer_path must be provided!")
Expand Down Expand Up @@ -186,9 +180,6 @@ def InterfaceEXL2(

config = get_model_config(model_version)

if model_version not in ["0.1", "0.2", "0.3"]:
raise ValueError(f"Invalid model version!")

if model_version == "0.3":
if cfg.tokenizer_path is None:
raise ValueError(f"tokenizer_path must be provided!")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='outetts',
version='0.3.1',
version='0.3.2',
packages=find_packages(),
install_requires=install_requires,
author='OuteAI',
Expand Down

0 comments on commit ad5ba96

Please sign in to comment.