Spaces:
Running
Running
Joseph Pollack
commited on
adds repo create for demo
Browse files
scripts/deploy_demo_space.py
CHANGED
@@ -484,8 +484,8 @@ os.environ['BRAND_PROJECT_URL'] = json.dumps({_json.dumps(self.brand_project_url
|
|
484 |
cli_attempts = [
|
485 |
["hf", "space", "create", self.space_id, "--type", "gradio", "--hardware", "cpu-basic"],
|
486 |
["huggingface-cli", "space", "create", self.space_id, "--type", "gradio", "--hardware", "cpu-basic"],
|
487 |
-
["hf", "repo", "create", self.space_id, "--repo-type", "space"],
|
488 |
-
["huggingface-cli", "repo", "create", self.space_id, "--repo-type", "space"],
|
489 |
]
|
490 |
|
491 |
last_err = None
|
|
|
484 |
cli_attempts = [
|
485 |
["hf", "space", "create", self.space_id, "--type", "gradio", "--hardware", "cpu-basic"],
|
486 |
["huggingface-cli", "space", "create", self.space_id, "--type", "gradio", "--hardware", "cpu-basic"],
|
487 |
+
["hf", "repo", "create", self.space_id, "--repo-type", "space", "--space-sdk", "gradio"],
|
488 |
+
["huggingface-cli", "repo", "create", self.space_id, "--repo-type", "space", "--space-sdk", "gradio"],
|
489 |
]
|
490 |
|
491 |
last_err = None
|