Merge pull request #6457 from youkaichao/module-run

[misc] enable module run

Former-commit-id: f68074d87bcc915a49a8765b3ebb32d935aa5445
This commit is contained in:
hoshi-hiyouga 2024-12-26 23:41:37 +08:00 committed by GitHub
commit 377dfe5665

View File

@ -120,3 +120,6 @@ def main():
print(USAGE) print(USAGE)
else: else:
raise NotImplementedError(f"Unknown command: {command}.") raise NotImplementedError(f"Unknown command: {command}.")
if __name__ == "__main__":
main()