Spaces:
Running
Running
admin
commited on
Commit
•
0826033
1
Parent(s):
7f3ec43
fix activate spaces
Browse files
app.py
CHANGED
@@ -107,7 +107,9 @@ def get_spaces(username: str):
|
|
107 |
studios = []
|
108 |
for space in spaces:
|
109 |
if space["author"] == username:
|
110 |
-
studios.append(
|
|
|
|
|
111 |
|
112 |
return studios
|
113 |
|
|
|
107 |
studios = []
|
108 |
for space in spaces:
|
109 |
if space["author"] == username:
|
110 |
+
studios.append(
|
111 |
+
f"https://{space['id'].replace('/', '-').replace('_', '-')}.hf.space"
|
112 |
+
)
|
113 |
|
114 |
return studios
|
115 |
|