Compare commits
3 Commits
b4758dd138
...
63b140209b
Author | SHA1 | Date | |
---|---|---|---|
63b140209b | |||
d181ac73b1 | |||
bddce23c76 |
@@ -26,3 +26,6 @@ build-backend = "poetry.core.masonry.api"
|
|||||||
ipython = "^9.4.0"
|
ipython = "^9.4.0"
|
||||||
jupyter = "^1.1.1"
|
jupyter = "^1.1.1"
|
||||||
|
|
||||||
|
[tool.poetry.scripts]
|
||||||
|
ucsinfer = "ucsinfer.__main__:ucsinfer"
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@ def print_recommendation(path: str | None, text: str, ctx: InferenceContext,
|
|||||||
print(f"- {i}: {r} ({cat}-{subcat})")
|
print(f"- {i}: {r} ({cat}-{subcat})")
|
||||||
|
|
||||||
if interactive_rename and path is not None:
|
if interactive_rename and path is not None:
|
||||||
response = input("(n#), t [text], c [cat], ?, q > ")
|
response = input("(n#), t, c, b, ?, q > ")
|
||||||
|
|
||||||
if m := match(r'^([0-9]+)', response):
|
if m := match(r'^([0-9]+)', response):
|
||||||
selection = int(m.group(1))
|
selection = int(m.group(1))
|
||||||
|
Reference in New Issue
Block a user