Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
5b5f7dd0
"tests/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "e9636216496240e0e0174631de46d107562e9215"
Commit
5b5f7dd0
authored
Dec 22, 2020
by
Julien Chaumond
Browse files
[hf_api] Fix incorrect typing
parent
1558d191
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/hf_api.py
src/transformers/hf_api.py
+1
-1
No files found.
src/transformers/hf_api.py
View file @
5b5f7dd0
...
@@ -214,7 +214,7 @@ class HfApi:
...
@@ -214,7 +214,7 @@ class HfApi:
d
=
r
.
json
()
d
=
r
.
json
()
return
[
ModelInfo
(
**
x
)
for
x
in
d
]
return
[
ModelInfo
(
**
x
)
for
x
in
d
]
def
list_repos_objs
(
self
,
token
:
str
,
organization
:
Optional
[
str
]
=
None
)
->
List
[
S3
Obj
]:
def
list_repos_objs
(
self
,
token
:
str
,
organization
:
Optional
[
str
]
=
None
)
->
List
[
Repo
Obj
]:
"""
"""
HuggingFace git-based system, used for models.
HuggingFace git-based system, used for models.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment