Spaces:
Runtime error
Runtime error
Commit
·
03889a3
1
Parent(s):
60bd4b0
Update app.py
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ def identity(index, split):
|
|
36 |
return ds["prompt"], ds["completion"]
|
37 |
|
38 |
def save(index, language, split, prompt, completion):
|
|
|
39 |
with open("/home/user/app/output.jsonl", "a") as fout :
|
40 |
fout.write(
|
41 |
json.dumps(
|
|
|
36 |
return ds["prompt"], ds["completion"]
|
37 |
|
38 |
def save(index, language, split, prompt, completion):
|
39 |
+
print("Saving ...")
|
40 |
with open("/home/user/app/output.jsonl", "a") as fout :
|
41 |
fout.write(
|
42 |
json.dumps(
|