mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-16 08:17:45 +01:00
remove master warning log
This commit is contained in:
@@ -728,7 +728,6 @@ class HubApi:
|
||||
else:
|
||||
if revision is not None and revision in all_branches:
|
||||
revision_detail = self.get_branch_tag_detail(all_branches_detail, revision)
|
||||
logger.warning('Using branch: %s as version is unstable, use with caution' % revision)
|
||||
return revision_detail
|
||||
|
||||
if len(all_tags_detail) == 0: # use no revision use master as default.
|
||||
|
||||
Reference in New Issue
Block a user