mirror of
https://github.com/wassname/stampy-chat.git
synced 2026-09-12 13:00:42 +08:00
Added main() for modularity
This commit is contained in:
+5
-2
@@ -26,6 +26,9 @@ def update_database_and_pinecone():
|
||||
updater.show_stats()
|
||||
|
||||
|
||||
def main():
|
||||
update_database_and_pinecone()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("\n"*10)
|
||||
update_database_and_pinecone()
|
||||
main()
|
||||
Reference in New Issue
Block a user