sharktide commited on
Commit
d3393be
·
verified ·
1 Parent(s): 1d6829a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -65,7 +65,6 @@ def check_huggingface_recipe_name(name: str) -> bool:
65
  existing_names = [row['row']['name'] for row in data['rows']]
66
  return name in existing_names
67
  if response.status_code == 404:
68
- warnings.Warn("Dataset is empty, or unreachable")
69
  return False
70
  else:
71
  raise HTTPException(status_code=500, detail="Error accessing store")
 
65
  existing_names = [row['row']['name'] for row in data['rows']]
66
  return name in existing_names
67
  if response.status_code == 404:
 
68
  return False
69
  else:
70
  raise HTTPException(status_code=500, detail="Error accessing store")