Spaces:
Runtime error
Runtime error
Upload mod.py
Browse files
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]
|
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):
|