Update README.md
Browse files
README.md
CHANGED
@@ -3,8 +3,11 @@ library_name: generic
|
|
3 |
tags:
|
4 |
- summarization
|
5 |
---
|
|
|
6 |
|
7 |
-
|
|
|
|
|
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 |
|