Commit
·
daabffc
1
Parent(s):
eb0c047
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def classify(text):
|
|
| 10 |
label = model(text)[0]["label"]
|
| 11 |
return label
|
| 12 |
|
| 13 |
-
description = "This AI model is trained to classify
|
| 14 |
title = "Classify Your Articles"
|
| 15 |
theme = "peach"
|
| 16 |
examples=[["Global Retail Giants Gear Up for Record-Breaking Holiday Sales Season Amidst Supply Chain Challenges and Rising Consumer Demand."]]
|
|
|
|
| 10 |
label = model(text)[0]["label"]
|
| 11 |
return label
|
| 12 |
|
| 13 |
+
description = "This AI model is trained to classify texts/articles/sentences into four categories: World, Sports, Business and Science/Tech."
|
| 14 |
title = "Classify Your Articles"
|
| 15 |
theme = "peach"
|
| 16 |
examples=[["Global Retail Giants Gear Up for Record-Breaking Holiday Sales Season Amidst Supply Chain Challenges and Rising Consumer Demand."]]
|