maom commited on
Commit
b18f058
·
verified ·
1 Parent(s): d6c9035

unpack DatasetDict

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,8 @@ import altair as alt
7
 
8
  top_coexp_hits = datasets.load_dataset(
9
  path = "maomlab/CryptoCEN",
10
- data_files = "top_coexp_hits.tsv").to_pandas()
 
11
 
12
  gene_id = st.text_input(
13
  label = "Gene 1",
 
7
 
8
  top_coexp_hits = datasets.load_dataset(
9
  path = "maomlab/CryptoCEN",
10
+ data_files = {"top_coexp_hits": "top_coexp_hits.tsv"})
11
+ top_coexp_hits = top_coexp_hits["top_coexp_hits"].to_pandas()
12
 
13
  gene_id = st.text_input(
14
  label = "Gene 1",