diff --git a/idiom_solitaire.py b/idiom_solitaire.py index f9f29b3..89fb5d8 100644 --- a/idiom_solitaire.py +++ b/idiom_solitaire.py @@ -611,4 +611,7 @@ def main(): st.write("2. 成语不能重复使用") st.write("3. 支持谐音接龙") st.write("4. 游戏由AI生成第一个成语,之后由AI和玩家交替接龙") - st.write("5. AI会验证你的回答是否正确") \ No newline at end of file + st.write("5. AI会验证你的回答是否正确") + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 5d37f80..054a9e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,6 @@ requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [tool.uv] -environments = ["default"] [tool.uv.environment.default] python = ">=3.12"