Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
c223932
1
Parent(s):
947b7c2
fix regex
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def update_tracked_dataset_to_users(dataset_id: str, username: str):
|
|
104 |
return datasets_tracked_by_user(username)
|
105 |
|
106 |
|
107 |
-
HUB_ORG_OR_USERNAME_GLOB_PATTERN = re.compile(r"^([
|
108 |
|
109 |
|
110 |
@lru_cache(maxsize=128)
|
|
|
104 |
return datasets_tracked_by_user(username)
|
105 |
|
106 |
|
107 |
+
HUB_ORG_OR_USERNAME_GLOB_PATTERN = re.compile(r"^([a-zA-Z0-9_-]+)\/\*$")
|
108 |
|
109 |
|
110 |
@lru_cache(maxsize=128)
|