John6666 commited on
Commit
2369193
1 Parent(s): f39bcea

Upload t2i_space.py

Browse files
Files changed (1) hide show
  1. t2i_space.py +1 -1
t2i_space.py CHANGED
@@ -4,7 +4,7 @@ import os
4
 
5
  def is_repo_name(s):
6
  import re
7
- return re.fullmatch(r'^[^/\.,\s]+?/[^/\.,\s]+?$', s)
8
 
9
 
10
  def is_repo_exists(repo_id):
 
4
 
5
  def is_repo_name(s):
6
  import re
7
+ return re.fullmatch(r'^[^/,\s]+?/[^/,\s]+?$', s)
8
 
9
 
10
  def is_repo_exists(repo_id):