Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,11 +22,11 @@ def show_extra_info(e):
|
|
22 |
data_title = data_v["Title"]
|
23 |
import numpy as np
|
24 |
decription = data_v["Description"] if str(data_v["Description"]) != 'nan' else "<empty_description>"
|
25 |
-
data_text = f"<br
|
26 |
else:
|
27 |
data_text = ""
|
28 |
|
29 |
-
text = f"The title of the notebook is: **{kv['Title']}** and it has **{kv['TotalVotes']} upvotes**.{data_text}"
|
30 |
return text
|
31 |
|
32 |
samples = load_data()
|
|
|
22 |
data_title = data_v["Title"]
|
23 |
import numpy as np
|
24 |
decription = data_v["Description"] if str(data_v["Description"]) != 'nan' else "<empty_description>"
|
25 |
+
data_text = f"<br>##📚 Dataset description:<br>Title: **{data_title}**, described as: {decription}."
|
26 |
else:
|
27 |
data_text = ""
|
28 |
|
29 |
+
text = f"The title of the notebook is: **{kv['Title']}** and it has **{kv['TotalVotes']} ⬆️ upvotes**.{data_text}"
|
30 |
return text
|
31 |
|
32 |
samples = load_data()
|