Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ hf_api = HfApi()
|
|
33 |
def generate_space_name():
|
34 |
"""Generate a unique Space name."""
|
35 |
random_suffix = ''.join(random.choices(string.ascii_lowercase + string.digits, k=6))
|
36 |
-
return f"GeneratedSpace-{random_suffix}"
|
37 |
-
|
38 |
def verify_organization_access(organization: str, token: str) -> bool:
|
39 |
"""Verify if the token has write access to the organization."""
|
40 |
try:
|
|
|
33 |
def generate_space_name():
|
34 |
"""Generate a unique Space name."""
|
35 |
random_suffix = ''.join(random.choices(string.ascii_lowercase + string.digits, k=6))
|
36 |
+
#return f"GeneratedSpace-{random_suffix}"
|
37 |
+
return "auto_space_1"
|
38 |
def verify_organization_access(organization: str, token: str) -> bool:
|
39 |
"""Verify if the token has write access to the organization."""
|
40 |
try:
|