forwardcjj commited on
Commit
a90c691
1 Parent(s): 786977a

Upload test.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. test.py +14 -0
test.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ from huggingface_hub import hf_hub_download
4
+
5
+ hf_hub_download(repo_id="google/pegasus-xsum", filename="config.json")
6
+
7
+ print("test")
8
+ hf_hub_download(
9
+ repo_id="google/pegasus-xsum",
10
+ filename="config.json",
11
+ revision="4d33b01d79672f27f001f6abade33f22d993b151"
12
+ )
13
+
14
+ print("123")