Spaces:
Sleeping
Sleeping
aus10powell
commited on
Commit
•
f29a77e
1
Parent(s):
74cd228
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,14 @@ from app_utils import *
|
|
33 |
def run_app():
|
34 |
# Options
|
35 |
st.set_option("deprecation.showfileUploaderEncoding", False)
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
# App documentation
|
38 |
st.title("MIT Count Fish Counter")
|
39 |
st.text("Upload a video file to detect and count fish")
|
|
|
33 |
def run_app():
|
34 |
# Options
|
35 |
st.set_option("deprecation.showfileUploaderEncoding", False)
|
36 |
+
# Counter variable
|
37 |
+
views_counter = 0
|
38 |
+
|
39 |
+
# Increment the counter on page/view access
|
40 |
+
views_counter += 1
|
41 |
+
|
42 |
+
# Display the counter value
|
43 |
+
st.write("Number of Views:", views_counter)
|
44 |
# App documentation
|
45 |
st.title("MIT Count Fish Counter")
|
46 |
st.text("Upload a video file to detect and count fish")
|