Skip to content

Commit

Permalink
feat: add root_path parameter and fix .gitignore __pycache__ configur…
Browse files Browse the repository at this point in the history
…ation (#58)

1. Added a base_path parameter to allow users to configure the URL path.
2. Fixed the .gitignore configuration for __pycache__.

Co-authored-by: Ze-Yi LIN <[email protected]>
  • Loading branch information
wangyc-pers and Zeyi-Lin authored Sep 6, 2024
1 parent 96a36e6 commit c95bcce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*.pyc
**/__pycache__
**/__pycache__/
.idea
.vscode/*
.DS_Store
Expand All @@ -13,4 +13,6 @@ build
*.pt
*.onnx
test/temp/*
!test/temp/.gitkeep
!test/temp/.gitkeep

.python-version
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,4 +643,4 @@ def change_image_kb(image_kb_option):
show_api=False,
favicon_path=os.path.join(root_dir, "assets/hivision_logo.png"),
root_path=args.root_path,
)
)

0 comments on commit c95bcce

Please sign in to comment.