John6666 commited on
Commit
39167cc
1 Parent(s): c9be37f

Upload mod.py

Browse files
Files changed (1) hide show
  1. mod.py +1 -1
mod.py CHANGED
@@ -34,7 +34,7 @@ num_loras = 3
34
 
35
  def is_repo_name(s):
36
  import re
37
- return re.fullmatch(r'^[^/,\s]+?/[^/,\s]+?$', s)
38
 
39
 
40
  def is_repo_exists(repo_id):
 
34
 
35
  def is_repo_name(s):
36
  import re
37
+ return re.fullmatch(r'^[^/,\s\"\']+/[^/,\s\"\']+$', s)
38
 
39
 
40
  def is_repo_exists(repo_id):