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.
2 parents 2c2614d + e09651c commit 70a8078Copy full SHA for 70a8078
aishell/__main__.py
@@ -1,4 +1,4 @@
1
import aishell
2
3
-if __name__ == '__main__':
+if __name__ == '__main__': # to make the project executable by `python3 -m aishell <query>`
4
aishell.main()
pyproject.toml
@@ -45,6 +45,9 @@ openai = "^0.26.5"
45
pydantic = "^1.10.4"
46
pyright = "^1.1.294"
47
48
+[tool.poetry.scripts]
49
+aishell = "aishell:main"
50
+
51
[tool.ruff.flake8-quotes]
52
inline-quotes = "single"
53
docstring-quotes = "single"
0 commit comments