avantikalal commited on
Commit
3442089
·
verified ·
1 Parent(s): 5d1cdad

Upload folder using huggingface_hub (#2)

Browse files

- Upload folder using huggingface_hub (5f3f62b336bdbdd6e014474d9d14b227bf24b4b7)

Files changed (1) hide show
  1. README.md +6 -2
README.md CHANGED
@@ -42,6 +42,10 @@ In `.var`:
42
  import anndata
43
  from huggingface_hub import hf_hub_download
44
 
45
- file_path = hf_hub_download(repo_id="Genentech/tutorial-2-data", filename="data.h5ad")
46
- ada = anndata.read_h5ad(file_path)
 
 
 
 
47
  ```
 
42
  import anndata
43
  from huggingface_hub import hf_hub_download
44
 
45
+ file_path = hf_hub_download(
46
+ repo_id="Genentech/tutorial-2-data",
47
+ repo_type="dataset",
48
+ filename="data.h5ad"
49
+ )
50
+ ad = anndata.read_h5ad(file_path)
51
  ```