Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -143,8 +143,8 @@ def build_space(repo_name,file_name,file_content,access_token=""):
|
|
143 |
private=False,
|
144 |
)
|
145 |
# Create a new Space
|
146 |
-
response = api.create_repo(repo_path)
|
147 |
-
space_info =
|
148 |
print(space_info)
|
149 |
space_id = space_info["name"]
|
150 |
print(f"Created Space with ID: {space_id}")
|
|
|
143 |
private=False,
|
144 |
)
|
145 |
# Create a new Space
|
146 |
+
#response = api.create_repo(repo_path)
|
147 |
+
space_info = repo_url.json()
|
148 |
print(space_info)
|
149 |
space_id = space_info["name"]
|
150 |
print(f"Created Space with ID: {space_id}")
|