Skip to content

Commit e664c86

Browse files
v0.1.9
1 parent 2c92e5e commit e664c86

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

gemma_template/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
__url__ = "https://github.com/thewebscraping/gemma-template"
44
__author__ = "Tu Pham"
55
__author_email__ = "[email protected]"
6-
__version__ = "0.1.7"
6+
__version__ = "0.1.8"
77
__license__ = "Apache-2.0"

gemma_template/models.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,9 +799,7 @@ def generate_prompt(
799799
):
800800
"""Generates a prompt to predict."""
801801

802-
template_attr = self.get_template_attr(
803-
instruction_template, prompt_template, **kwargs
804-
)
802+
template_attr = self.get_template_attr(**kwargs)
805803
if isinstance(prompt_template, Callable):
806804
return prompt_template(self, template_attr)
807805

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ license = Apache2
55
license_file = LICENSE
66
python_requires = >=3.9
77
classifiers =
8-
Development Status :: 4 - Beta
8+
Development Status :: 5 - Production/Stable
99
Intended Audience :: Developers
1010
Environment :: Web Environment
1111
License :: OSI Approved :: Apache Software License

0 commit comments

Comments
 (0)