Frenchizer commited on
Commit
deb2d94
·
verified ·
1 Parent(s): 4ebabb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -8
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", "general",
27
- "gaming", "healthcare", "history", "html",
28
- "information technology", "IT", "keywords", "legal",
29
- "literature", "machine learning", "marketing", "medicine",
30
- "music", "personal development", "philosophy", "physics",
31
- "politics", "poetry", "programming", "real estate", "retail",
32
- "robotics", "slang", "social media", "speech", "sports",
33
- "sustained", "technical", "theater", "tourism", "travel"
 
 
 
 
 
 
 
 
 
 
 
 
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)