update .gitignore and remove leaking api key.

This commit is contained in:
18688905432 2024-09-10 22:13:38 +08:00
parent 207eba4f12
commit d889cefd74
2 changed files with 7 additions and 1 deletions

6
.gitignore vendored
View File

@ -160,3 +160,9 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
# ignore .zip files
*.zip
# ignore .DS_store which is mac system file
.DS_store

View File

@ -116,4 +116,4 @@ def main(api_key, file_path_or_folder, output_excel):
if __name__ == "__main__":
# API Key, 待解析文件路径, 输出文件路径
main("0cd086fce44e6e97600730e6c537ea5b.6zsWw3PpQHAFrOye", "/home/czl/pythonProject/FileChat/analysis", "/home/czl/pythonProject/FileChat/analysis_result.xlsx")
main("API-key,place replace here...", "/home/czl/pythonProject/FileChat/analysis", "/home/czl/pythonProject/FileChat/analysis_result.xlsx")