修复:添加main()函数调用以解决页面空白问题
This commit is contained in:
parent
ac298470e9
commit
80a0cce940
@ -611,4 +611,7 @@ def main():
|
|||||||
st.write("2. 成语不能重复使用")
|
st.write("2. 成语不能重复使用")
|
||||||
st.write("3. 支持谐音接龙")
|
st.write("3. 支持谐音接龙")
|
||||||
st.write("4. 游戏由AI生成第一个成语,之后由AI和玩家交替接龙")
|
st.write("4. 游戏由AI生成第一个成语,之后由AI和玩家交替接龙")
|
||||||
st.write("5. AI会验证你的回答是否正确")
|
st.write("5. AI会验证你的回答是否正确")
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
@ -10,7 +10,6 @@ requires = ["setuptools>=61.0"]
|
|||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[tool.uv]
|
[tool.uv]
|
||||||
environments = ["default"]
|
|
||||||
|
|
||||||
[tool.uv.environment.default]
|
[tool.uv.environment.default]
|
||||||
python = ">=3.12"
|
python = ">=3.12"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user