loubnabnl HF staff commited on
Commit
2319432
·
1 Parent(s): 7ecbb3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -3,7 +3,8 @@ import json
3
  from datasets import load_dataset
4
 
5
  st.set_page_config(page_title="Kaggle Notebooks inspection", layout="wide")
6
- st.title("Kaggle Notebooks inspection 🔍")
 
7
 
8
  st.markdown("Here you can inspect Kaggle notebooks that were converted to python scripts and deduplicated.")
9
  @st.cache()
@@ -12,8 +13,8 @@ def load_data():
12
  return ds
13
 
14
  samples = load_data()
15
- col1, _ = st.columns([2, 4])
16
- with col1:
17
- index_example = st.number_input(f"Index of the chosen sample from the existing {len(samples)}", min_value=0, max_value=len(samples)-1, value=0, step=1)
18
 
19
  st.code(samples[index_example]["script"])
 
3
  from datasets import load_dataset
4
 
5
  st.set_page_config(page_title="Kaggle Notebooks inspection", layout="wide")
6
+
7
+ st.markdown("<h1 style='text-align: center; color: #00BFFF;'>Kaggle Notebooks inspection 🔍</h1>", unsafe_allow_html=True)
8
 
9
  st.markdown("Here you can inspect Kaggle notebooks that were converted to python scripts and deduplicated.")
10
  @st.cache()
 
13
  return ds
14
 
15
  samples = load_data()
16
+ #col1, _ = st.columns([2, 4])
17
+ #with col1:
18
+ index_example = st.number_input(f"Index of the chosen sample from the existing {len(samples)}", min_value=0, max_value=len(samples)-1, value=0, step=1)
19
 
20
  st.code(samples[index_example]["script"])