We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36daef3 commit 2b7a89fCopy full SHA for 2b7a89f
src/12_transformer/detokenizer.py
@@ -1,6 +1,10 @@
1
#-*- coding:utf-8 -*-
2
import sys
3
-sys.stdin.reconfigure(encoding='utf-8')
+
4
+try:
5
+ sys.stdin.reconfigure(encoding='utf-8')
6
+except:
7
+ pass
8
9
10
if __name__ == "__main__":
0 commit comments