From cd18448a3778e10ebd2fe6fa8dae6707b446f006 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 30 Mar 2024 11:18:18 +0000 Subject: automatic import of transformers --- transformers.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'transformers.spec') diff --git a/transformers.spec b/transformers.spec index 9dd3f8d..5bb5991 100644 --- a/transformers.spec +++ b/transformers.spec @@ -3,8 +3,8 @@ Version: 4.39.0 Release: 1%{?dist} Summary: Transformers provides thousands of pretrained models to perform tasks on different modalities. License: Apache-2.0 -URL: https://huggingface.co/docs/transformers/index -Source0: https://github.com/huggingface/transformers.git +URL: https://huggingface.co/docs/transformers/index +Source0: https://github.com/huggingface/transformers/archive/refs/tags/v%{version}.tar.gz Requires: python3-filelock Requires: python3-packaging @@ -27,7 +27,6 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel -BuildRequires: python3-hatchling %description -n python3-transformers python3-transformers provides APIs for transformers realize. @@ -42,6 +41,7 @@ description for the doc of the python-transformers %prep %autosetup -p1 -n transformers-%{version} +pip install hatchling %build %pyproject_build -- cgit v1.2.3