aokitools commited on
Commit ·
fce1e26
1
Parent(s): 3b42ed4
commit
Browse files- app.py +1 -1
- requirements.txt +2 -0
app.py
CHANGED
|
@@ -69,7 +69,7 @@ def f_jsonlines2json(e_text1):
|
|
| 69 |
s2 = json.dumps(d1, ensure_ascii=False, indent=2)
|
| 70 |
pass
|
| 71 |
except Exception as e:
|
| 72 |
-
s2 = "[LINE {1:,}] ERROR: {0}\n{2}".format(e, index1, i1)
|
| 73 |
|
| 74 |
import traceback
|
| 75 |
print(traceback.format_exc())
|
|
|
|
| 69 |
s2 = json.dumps(d1, ensure_ascii=False, indent=2)
|
| 70 |
pass
|
| 71 |
except Exception as e:
|
| 72 |
+
s2 = "[LINE {1:,}] ERROR: {0}\n{2}\n".format(e, index1, i1)
|
| 73 |
|
| 74 |
import traceback
|
| 75 |
print(traceback.format_exc())
|
requirements.txt
CHANGED
|
@@ -1,2 +1,4 @@
|
|
| 1 |
janome
|
| 2 |
lxml
|
|
|
|
|
|
|
|
|
| 1 |
janome
|
| 2 |
lxml
|
| 3 |
+
|
| 4 |
+
|