Spaces:
Sleeping
Sleeping
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
title: Empathy API with T5
|
| 4 |
+
sdk: gradio
|
| 5 |
+
pinned: true
|
| 6 |
+
short_description: This Hugging Face Space wraps the `mrm8488/t5-base-finetuned
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
**POST /generate**
|
| 10 |
+
|
| 11 |
+
```
|
| 12 |
+
{ "message": "I lost my keys and I'm sad" }
|
| 13 |
+
|
| 14 |
+
{ "reply": "sadness" }
|
| 15 |
+
```
|
| 16 |
+
|