loubnabnl HF staff commited on
Commit
d305152
1 Parent(s): 676ca72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ 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"<h4 style='color: #00BFFF;'>📚 Dataset description:</h4><br>Title: **{data_title}**, described as: {description}."
26
  else:
27
  data_text = ""
28
 
@@ -32,5 +32,5 @@ 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
  decription = 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 = ""
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.markdown("<h4 style='color: #00BFFF;'Kaggle Notebook</h4>", unsafe_allow_html=True)
36
  st.code(samples[index_example]["script"])