Spaces:
Sleeping
Sleeping
overwrite requirements
Browse files- open_pr.py +2 -2
open_pr.py
CHANGED
@@ -27,7 +27,7 @@ This PR enables Space CI on your Space. **Gradio Space CI is a tool to create ep
|
|
27 |
|
28 |
---
|
29 |
This is an automated PR created with https://huggingface.co/spaces/Wauplin/gradio-space-ci.
|
30 |
-
For more details about Space CI, checkout [this page]
|
31 |
If you find any issues, please report here: https://huggingface.co/spaces/Wauplin/gradio-space-ci/discussions
|
32 |
|
33 |
Feel free to ignore this PR.
|
@@ -61,7 +61,7 @@ def open_pr(space_id_or_url: str, oauth_token: gr.OAuthToken | None) -> str:
|
|
61 |
else:
|
62 |
requirements = ""
|
63 |
if "gradio-space-ci" not in requirements:
|
64 |
-
requirements += "\ngradio-space-ci @ git+https://huggingface.co/spaces/
|
65 |
|
66 |
# 2. Configure CI in README.md
|
67 |
card = SpaceCard.load(api.hf_hub_download(repo_id=space_id, repo_type="space", filename="README.md"))
|
|
|
27 |
|
28 |
---
|
29 |
This is an automated PR created with https://huggingface.co/spaces/Wauplin/gradio-space-ci.
|
30 |
+
For more details about Space CI, checkout [this page](https://huggingface.co/spaces/Wauplin/gradio-space-ci/blob/main/README.md).
|
31 |
If you find any issues, please report here: https://huggingface.co/spaces/Wauplin/gradio-space-ci/discussions
|
32 |
|
33 |
Feel free to ignore this PR.
|
|
|
61 |
else:
|
62 |
requirements = ""
|
63 |
if "gradio-space-ci" not in requirements:
|
64 |
+
requirements += "\ngradio-space-ci @ git+https://huggingface.co/spaces/not-lain/gradio-space-ci\n"
|
65 |
|
66 |
# 2. Configure CI in README.md
|
67 |
card = SpaceCard.load(api.hf_hub_download(repo_id=space_id, repo_type="space", filename="README.md"))
|