CultriX commited on
Commit
d962660
·
verified ·
1 Parent(s): 7d1b966

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def calculate_pages(df, items_per_page):
14
  return -(-len(df) // items_per_page) # Equivalent to math.ceil(len(df) / items_per_page)
15
 
16
  @st.cache_data
17
- def cached_model_info(api, model):
18
  try:
19
  return api.model_info(repo_id=str(model))
20
  except (RepositoryNotFoundError, RevisionNotFoundError):
 
14
  return -(-len(df) // items_per_page) # Equivalent to math.ceil(len(df) / items_per_page)
15
 
16
  @st.cache_data
17
+ def cached_model_info(_api, model):
18
  try:
19
  return api.model_info(repo_id=str(model))
20
  except (RepositoryNotFoundError, RevisionNotFoundError):