This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
modelscope
/
ModelScope
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Update repository.py (
#42
)
Add raise msg
master^2
chenxujun
GitHub
2 years ago
parent
e6961b3970
commit
f69181020a
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
modelscope/hub/repository.py
+ 1
- 0
modelscope/hub/repository.py
View File
@@ -140,6 +140,7 @@ class Repository:
raise InvalidParameter(msg)
if message is None or message == '':
msg = 'We use annotated tag, therefore message cannot None or empty.'
raise InvalidParameter(msg)
self.git_wrapper.tag(
repo_dir=self.model_dir,
tag_name=tag_name,
Write
Preview
Loading…
Cancel
Save