Spaces:
Build error
Build error
freemt commited on
Commit ·
41d9c80
1
Parent(s): 811503f
Update example citr-shixianrong-zh-boll-de.txt
Browse files
data/catcher-in-the-rye-boll-de.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/catcher-in-the-rye-shixianrong-zh.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
radiobee/__main__.py
CHANGED
|
@@ -97,6 +97,7 @@ if __name__ == "__main__":
|
|
| 97 |
# likely hf spaces
|
| 98 |
server_name = "0.0.0.0"
|
| 99 |
debug = False
|
|
|
|
| 100 |
else:
|
| 101 |
server_name = "127.0.0.1"
|
| 102 |
|
|
@@ -262,6 +263,16 @@ if __name__ == "__main__":
|
|
| 262 |
10,
|
| 263 |
6,
|
| 264 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 265 |
]
|
| 266 |
|
| 267 |
# modi examples setup
|
|
|
|
| 97 |
# likely hf spaces
|
| 98 |
server_name = "0.0.0.0"
|
| 99 |
debug = False
|
| 100 |
+
debug = True
|
| 101 |
else:
|
| 102 |
server_name = "127.0.0.1"
|
| 103 |
|
|
|
|
| 263 |
10,
|
| 264 |
6,
|
| 265 |
],
|
| 266 |
+
[
|
| 267 |
+
"data/catcher-in-the-rye-shixianrong-zh.txt",
|
| 268 |
+
"data/catcher-in-the-rye-boll-de.txt",
|
| 269 |
+
"linear",
|
| 270 |
+
"None",
|
| 271 |
+
"None",
|
| 272 |
+
"None",
|
| 273 |
+
10,
|
| 274 |
+
6,
|
| 275 |
+
],
|
| 276 |
]
|
| 277 |
|
| 278 |
# modi examples setup
|
radiobee/gradiobee.py
CHANGED
|
@@ -107,7 +107,7 @@ def gradiobee(
|
|
| 107 |
return error_msg("Nothing worthy of processing in file 1")
|
| 108 |
|
| 109 |
logger.info(
|
| 110 |
-
"fast track single fiel: len %
|
| 111 |
len(_), 2 * len_max
|
| 112 |
)
|
| 113 |
# exit if there are too many lines
|
|
@@ -228,7 +228,7 @@ def gradiobee(
|
|
| 228 |
cmat = vec2.dot(vec1.T)
|
| 229 |
except Exception as exc:
|
| 230 |
logger.error(exc)
|
| 231 |
-
return error_msg(f"{exc}, {__file__} {inspect.currentframe().f_lineno}, period")
|
| 232 |
|
| 233 |
tset = pd.DataFrame(cmat2tset(cmat))
|
| 234 |
tset.columns = ["x", "y", "cos"]
|
|
|
|
| 107 |
return error_msg("Nothing worthy of processing in file 1")
|
| 108 |
|
| 109 |
logger.info(
|
| 110 |
+
"fast track single fiel: len %s, max %s",
|
| 111 |
len(_), 2 * len_max
|
| 112 |
)
|
| 113 |
# exit if there are too many lines
|
|
|
|
| 228 |
cmat = vec2.dot(vec1.T)
|
| 229 |
except Exception as exc:
|
| 230 |
logger.error(exc)
|
| 231 |
+
return error_msg(f"{exc}, {Path(__file__).name} ln{inspect.currentframe().f_lineno}, period")
|
| 232 |
|
| 233 |
tset = pd.DataFrame(cmat2tset(cmat))
|
| 234 |
tset.columns = ["x", "y", "cos"]
|