Upload app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ REGEX_HF_PATH = r'^[\w_\-\.]+/[\w_\-\.]+(/?:.+)?$'
|
|
23 |
|
24 |
def debug(s: str):
|
25 |
print(s)
|
|
|
26 |
|
27 |
def is_valid_reponame(repo_id: str):
|
28 |
return re.fullmatch(REGEX_HF_REPO, repo_id)
|
|
|
23 |
|
24 |
def debug(s: str):
|
25 |
print(s)
|
26 |
+
gr.Info(s)
|
27 |
|
28 |
def is_valid_reponame(repo_id: str):
|
29 |
return re.fullmatch(REGEX_HF_REPO, repo_id)
|