com3dian commited on
Commit
da7aa6e
·
verified ·
1 Parent(s): e35a7d2

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +0 -6
src/streamlit_app.py CHANGED
@@ -16,12 +16,6 @@ st.title("🏆 Hackathon Leaderboard")
16
 
17
  uploaded_file = st.file_uploader("Upload your submission (.zip)", type=["zip"])
18
 
19
- def is_valid_model(obj):
20
- """
21
- Check if the object is a class instance with a 'predict' method.
22
- """
23
- return hasattr(obj, 'get_team') and inspect.ismethod(getattr(obj, 'get_team', None)) or callable(getattr(obj, 'get_team', None))
24
-
25
  if uploaded_file and st.button("Submit"):
26
  timestamp = datetime.datetime.now().isoformat()
27
  submission_filename = f"{timestamp.replace(':', '_')}_{uploaded_file.name}"
 
16
 
17
  uploaded_file = st.file_uploader("Upload your submission (.zip)", type=["zip"])
18
 
 
 
 
 
 
 
19
  if uploaded_file and st.button("Submit"):
20
  timestamp = datetime.datetime.now().isoformat()
21
  submission_filename = f"{timestamp.replace(':', '_')}_{uploaded_file.name}"