hello world
Browse files- app.py +2 -0
- bad_examples/stackexchange2_bad_examples.jsonl +2 -2
app.py
CHANGED
@@ -76,6 +76,8 @@ def get_next_item():
|
|
76 |
|
77 |
|
78 |
def save_flag_and_get_next_item(sample, issue):
|
|
|
|
|
79 |
sample["issue"] = issue
|
80 |
|
81 |
with open(f"{BAD_EXAMPLES_PATH}/{dataset}_bad_examples.jsonl", "a") as f:
|
|
|
76 |
|
77 |
|
78 |
def save_flag_and_get_next_item(sample, issue):
|
79 |
+
if issue is None or issue == "":
|
80 |
+
issue = "None"
|
81 |
sample["issue"] = issue
|
82 |
|
83 |
with open(f"{BAD_EXAMPLES_PATH}/{dataset}_bad_examples.jsonl", "a") as f:
|
bad_examples/stackexchange2_bad_examples.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd85f7f02d596bfba6e21f4533ef833ad8be864b28686a927266ae52d83efe80
|
3 |
+
size 18881
|