ola13 commited on
Commit
0112a25
1 Parent(s): a6e1ff6

hello world

Browse files
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:5d56866a48e1cd99a0bc80ab9088bf7f28e7a861d91a02630252f8fad676147b
3
- size 41965
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd85f7f02d596bfba6e21f4533ef833ad8be864b28686a927266ae52d83efe80
3
+ size 18881