Spaces:
Paused
Paused
Update app.py
Browse files
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")
|