Spaces:
Build error
Build error
freemt
commited on
Commit
·
02e4e96
1
Parent(s):
5980f96
Update exmaples 英译中国现代散文选1(汉外对照丛书)
Browse files- data/英译中国现代散文选1(汉外对照丛书).txt +0 -0
- radiobee/__main__.py +11 -1
- radiobee/gradiobee.py +1 -1
data/英译中国现代散文选1(汉外对照丛书).txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
radiobee/__main__.py
CHANGED
|
@@ -250,6 +250,16 @@ if __name__ == "__main__":
|
|
| 250 |
10,
|
| 251 |
6,
|
| 252 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 253 |
[
|
| 254 |
"data/test-zh-ja.txt",
|
| 255 |
"data/empty.txt",
|
|
@@ -438,7 +448,7 @@ if __name__ == "__main__":
|
|
| 438 |
# server_name="127.0.0.1",
|
| 439 |
server_port=server_port,
|
| 440 |
# show_tips=True,
|
| 441 |
-
|
| 442 |
# height=150, # 500
|
| 443 |
width=900, # 900
|
| 444 |
)
|
|
|
|
| 250 |
10,
|
| 251 |
6,
|
| 252 |
],
|
| 253 |
+
[
|
| 254 |
+
"data/英译中国现代散文选1(汉外对照丛书).txt",
|
| 255 |
+
"data/empty.txt",
|
| 256 |
+
"linear",
|
| 257 |
+
"None",
|
| 258 |
+
"None",
|
| 259 |
+
"None",
|
| 260 |
+
10,
|
| 261 |
+
6,
|
| 262 |
+
],
|
| 263 |
[
|
| 264 |
"data/test-zh-ja.txt",
|
| 265 |
"data/empty.txt",
|
|
|
|
| 448 |
# server_name="127.0.0.1",
|
| 449 |
server_port=server_port,
|
| 450 |
# show_tips=True,
|
| 451 |
+
enable_queue=True,
|
| 452 |
# height=150, # 500
|
| 453 |
width=900, # 900
|
| 454 |
)
|
radiobee/gradiobee.py
CHANGED
|
@@ -110,7 +110,7 @@ def gradiobee(
|
|
| 110 |
return error_msg("Nothing worthy of processing in file 1")
|
| 111 |
|
| 112 |
logger.info(
|
| 113 |
-
"
|
| 114 |
len(_), 2 * len_max
|
| 115 |
)
|
| 116 |
# exit if there are too many lines
|
|
|
|
| 110 |
return error_msg("Nothing worthy of processing in file 1")
|
| 111 |
|
| 112 |
logger.info(
|
| 113 |
+
"single file: len %s, max %s",
|
| 114 |
len(_), 2 * len_max
|
| 115 |
)
|
| 116 |
# exit if there are too many lines
|