Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ DEFAULT_LABELS = [
|
|
| 7 |
"science", "business", "travel", "education"
|
| 8 |
]
|
| 9 |
|
|
|
|
| 10 |
@lru_cache(maxsize=1)
|
| 11 |
def get_pipes():
|
| 12 |
summarizer = pipeline(
|
|
|
|
| 7 |
"science", "business", "travel", "education"
|
| 8 |
]
|
| 9 |
|
| 10 |
+
|
| 11 |
@lru_cache(maxsize=1)
|
| 12 |
def get_pipes():
|
| 13 |
summarizer = pipeline(
|