Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
fix: set use_mock_data to false
Browse files Browse the repository at this point in the history
  • Loading branch information
d116626 committed Feb 8, 2024
1 parent 33dab6d commit 8599a18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Home.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
cameras = get_cameras(
page_size=3000,
only_active=False,
use_mock_data=True,
use_mock_data=False,
update_mock_data=False,
)
cameras_attr, cameras_identifications = treat_data(cameras)
Expand Down
2 changes: 1 addition & 1 deletion app/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def callback_data():
# )


@st.cache_data(ttl=60 * 5, persist=False)
@st.cache_data(ttl=60 * 2, persist=False)
def get_cameras(
only_active=True,
use_mock_data=False,
Expand Down
2 changes: 1 addition & 1 deletion data/temp/mock_api_data.json

Large diffs are not rendered by default.

0 comments on commit 8599a18

Please sign in to comment.