Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -233,14 +233,14 @@ if fetch_data:
|
|
233 |
<b>ℹ️ No metadata enhancement suggestions available.</b>
|
234 |
</div>
|
235 |
""", unsafe_allow_html=True)
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
|
245 |
else:
|
246 |
st.warning("No metadata records found for this collection. Try selecting another one.")
|
|
|
233 |
<b>ℹ️ No metadata enhancement suggestions available.</b>
|
234 |
</div>
|
235 |
""", unsafe_allow_html=True)
|
236 |
+
except Exception as e:
|
237 |
+
st.error(f"Error generating metadata suggestions: {e}")
|
238 |
+
else:
|
239 |
+
st.markdown("""
|
240 |
+
<div class='custom-table'>
|
241 |
+
<b>ℹ️ Not enough descriptive data to generate metadata suggestions.</b>
|
242 |
+
</div>
|
243 |
+
""", unsafe_allow_html=True)
|
244 |
|
245 |
else:
|
246 |
st.warning("No metadata records found for this collection. Try selecting another one.")
|