anzorq commited on
Commit
792cca4
·
1 Parent(s): a85b5a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def convert(token: str, model_id: str) -> str:
13
  """
14
  try:
15
  api = HfApi(token=token)
16
- info = api.ModelInfo(model_id)
17
  return info
18
 
19
  except Exception as e:
 
13
  """
14
  try:
15
  api = HfApi(token=token)
16
+ info = api.model_info(repo_id=model_id)
17
  return info
18
 
19
  except Exception as e: