Lin0He commited on
Commit
6d2801b
·
1 Parent(s): 8042c99

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -3,8 +3,11 @@ library_name: generic
3
  tags:
4
  - summarization
5
  ---
 
6
 
7
- ### Interface
 
 
8
  import requests
9
 
10
  API_URL = "https://api-inference.huggingface.co/models/Lin0He/text-summary-gpt2-short"
@@ -18,7 +21,7 @@ output = query({
18
  "inputs": "Today was a beautiful day. I have down all my homework, and baked some cookies with my friends. What a lovely day."
19
  })
20
  print(output)
21
-
22
 
23
 
24
 
 
3
  tags:
4
  - summarization
5
  ---
6
+ ## Model Description
7
 
8
+
9
+ ## Interface
10
+ ```python
11
  import requests
12
 
13
  API_URL = "https://api-inference.huggingface.co/models/Lin0He/text-summary-gpt2-short"
 
21
  "inputs": "Today was a beautiful day. I have down all my homework, and baked some cookies with my friends. What a lovely day."
22
  })
23
  print(output)
24
+ ```
25
 
26
 
27