Spaces:
Runtime error
Runtime error
adding files
Browse files- .gitignore +2 -1
- app.py +3 -3
.gitignore
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
.idea
|
2 |
-
venv
|
|
|
|
1 |
.idea
|
2 |
+
venv
|
3 |
+
__pycache__
|
app.py
CHANGED
@@ -12,15 +12,15 @@ with open(filepath, 'r') as f:
|
|
12 |
usernames = set(username_to_repo.keys())
|
13 |
|
14 |
text = """\
|
15 |
-
![](https://huggingface.co/spaces/
|
16 |
**_CommitPack is..._**
|
17 |
|
18 |
# Am I in The CommitPack?
|
19 |
|
20 |
-
As part of the BigCode project, we released and maintain [
|
21 |
""" + """\
|
22 |
|
23 |
-
This tool lets you check if a repository under a given username is part of
|
24 |
"""
|
25 |
|
26 |
opt_out_text_template = """\
|
|
|
12 |
usernames = set(username_to_repo.keys())
|
13 |
|
14 |
text = """\
|
15 |
+
![](https://huggingface.co/spaces/bigcode/in-the-commitpack/resolve/main/banner.png)
|
16 |
**_CommitPack is..._**
|
17 |
|
18 |
# Am I in The CommitPack?
|
19 |
|
20 |
+
As part of the BigCode project, we released and maintain [CommitPack](https://huggingface.co/datasets/bigcode/commitpack), a 4 TB dataset of permissively licensed source code over 350 programming languages. One of our goals in this project is to give people agency over their source code by letting them decide whether or not it should be used to develop and evaluate machine learning models, as we acknowledge that not all developers may wish to have their data used for that purpose.
|
21 |
""" + """\
|
22 |
|
23 |
+
This tool lets you check if a repository under a given username is part of CommitPack dataset. Would you like to have your data removed from future versions of CommitPack? You can opt-out following the instructions [here](https://www.bigcode-project.org/docs/about/the-stack/#how-can-i-request-that-my-data-be-removed-from-the-stack).
|
24 |
"""
|
25 |
|
26 |
opt_out_text_template = """\
|