acecalisto3 commited on
Commit
ac242b7
1 Parent(s): c6d7c50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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}"}