Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def show_extra_info(e):
|
|
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"<
|
26 |
else:
|
27 |
data_text = ""
|
28 |
|
@@ -32,5 +32,4 @@ def show_extra_info(e):
|
|
32 |
samples = load_data()
|
33 |
index_example = st.number_input(f"Chose a sample from the existing {len(samples)} notebooks:", min_value=0, max_value=len(samples)-1, value=0, step=1)
|
34 |
st.markdown(show_extra_info(samples[index_example]), unsafe_allow_html=True)
|
35 |
-
st.markdown("<h4 style='color: #00BFFF;'Kaggle Notebook</h4>", unsafe_allow_html=True)
|
36 |
st.code(samples[index_example]["script"])
|
|
|
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"<br>**📚 Dataset description:**<br>Title: **{data_title}**, described as: {description}."
|
26 |
else:
|
27 |
data_text = ""
|
28 |
|
|
|
32 |
samples = load_data()
|
33 |
index_example = st.number_input(f"Chose a sample from the existing {len(samples)} notebooks:", min_value=0, max_value=len(samples)-1, value=0, step=1)
|
34 |
st.markdown(show_extra_info(samples[index_example]), unsafe_allow_html=True)
|
|
|
35 |
st.code(samples[index_example]["script"])
|