Upload folder using huggingface_hub

#2
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
  ```