Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def show_extra_info(e):
|
|
21 |
if data_v:
|
22 |
data_title = data_v["Title"]
|
23 |
import numpy as np
|
24 |
-
|
25 |
data_text = f"<h4 style='color: #00BFFF;'>📚 Dataset description:</h4><br>Title: **{data_title}**, described as: {description}."
|
26 |
else:
|
27 |
data_text = ""
|
|
|
21 |
if data_v:
|
22 |
data_title = data_v["Title"]
|
23 |
import numpy as np
|
24 |
+
description = data_v["Description"] if str(data_v["Description"]) != 'nan' else "<empty_description>"
|
25 |
data_text = f"<h4 style='color: #00BFFF;'>📚 Dataset description:</h4><br>Title: **{data_title}**, described as: {description}."
|
26 |
else:
|
27 |
data_text = ""
|