Spaces:
Sleeping
Sleeping
acecalisto3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -462,5 +462,4 @@ elif app_mode == "Workspace Chat App":
|
|
462 |
# Function to create a Space on Hugging Face
|
463 |
def create_space(api, name, description, public, files, entrypoint="launch.py"):
|
464 |
url = f"{hf_hub_url()}spaces/{name}/prepare-repo"
|
465 |
-
headers = {"Authorization": f"Bearer {api.access_token}"}
|
466 |
-
</s>
|
|
|
462 |
# Function to create a Space on Hugging Face
|
463 |
def create_space(api, name, description, public, files, entrypoint="launch.py"):
|
464 |
url = f"{hf_hub_url()}spaces/{name}/prepare-repo"
|
465 |
+
headers = {"Authorization": f"Bearer {api.access_token}"}
|
|