Anthonyg5005 commited on
Commit
bdc5376
·
verified ·
1 Parent(s): 00d20d4

Update create new branch.py

Browse files
Files changed (1) hide show
  1. create new branch.py +3 -3
create new branch.py CHANGED
@@ -34,11 +34,11 @@ create_branch(repo, repo_type=r_type, branch=branch)
34
  #extra information
35
  #won't work if special characters are used
36
  if r_type == 'model':
37
- print(f"Branch created at https://huggingface/{repo}/tree/{branch}")
38
  elif r_type == 'dataset':
39
- print(f"Branch created at https://huggingface/datasets/{repo}/tree/{branch}")
40
  elif r_type == 'space':
41
- print(f"Branch created at https://huggingface/spaces/{repo}/tree/{branch}")
42
  #if token wasn't found then display following text:
43
  if tfound == 'false':
44
  print('''
 
34
  #extra information
35
  #won't work if special characters are used
36
  if r_type == 'model':
37
+ print(f"Branch created at https://huggingface.co/{repo}/tree/{branch}")
38
  elif r_type == 'dataset':
39
+ print(f"Branch created at https://huggingface.co/datasets/{repo}/tree/{branch}")
40
  elif r_type == 'space':
41
+ print(f"Branch created at https://huggingface.co/spaces/{repo}/tree/{branch}")
42
  #if token wasn't found then display following text:
43
  if tfound == 'false':
44
  print('''