Add main function to support uv startup

This commit is contained in:
bz彬彬 2026-01-09 10:34:34 +08:00
parent c256fc2937
commit 7336f57a07

4
app.py
View File

@ -157,3 +157,7 @@ def ask_question():
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=5001)
def main():
"""Main function for uv to run"""
app.run(debug=True, host='0.0.0.0', port=5001)