Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,14 +23,26 @@ labels = [
|
|
| 23 |
"automotive", "blockchain", "biology", "chemistry",
|
| 24 |
"cryptocurrency", "data science", "design", "e-commerce",
|
| 25 |
"education", "engineering", "entertainment", "environment",
|
| 26 |
-
"fashion", "finance", "food commerce", "
|
| 27 |
-
"
|
| 28 |
-
"
|
| 29 |
-
"
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
]
|
| 35 |
|
| 36 |
@lru_cache(maxsize=1)
|
|
|
|
| 23 |
"automotive", "blockchain", "biology", "chemistry",
|
| 24 |
"cryptocurrency", "data science", "design", "e-commerce",
|
| 25 |
"education", "engineering", "entertainment", "environment",
|
| 26 |
+
"fashion", "finance", "food commerce", "gaming",
|
| 27 |
+
"healthcare", "history", "information technology",
|
| 28 |
+
"legal", "machine learning", "marketing", "medicine",
|
| 29 |
+
"music", "philosophy", "physics", "politics", "real estate", "retail",
|
| 30 |
+
"robotics", "social media", "sports", "technical",
|
| 31 |
+
"tourism", "travel"
|
| 32 |
+
]
|
| 33 |
+
|
| 34 |
+
tones = [
|
| 35 |
+
"formal", "positive", "negative", "poetic", "polite", "subtle", "casual", "neutral",
|
| 36 |
+
"informal", "pompous", "sustained", "rude", "sustained",
|
| 37 |
+
"sophisticated", "playful", "serious", "friendly"
|
| 38 |
+
]
|
| 39 |
+
|
| 40 |
+
styles = [
|
| 41 |
+
"poetry", "novel", "theater", "slang", "speech", "keywords", "html", "programming"
|
| 42 |
+
]
|
| 43 |
+
|
| 44 |
+
gender_number = [
|
| 45 |
+
"masculine singular", "masculine plural", "feminine singular", "feminine plural"
|
| 46 |
]
|
| 47 |
|
| 48 |
@lru_cache(maxsize=1)
|