varun500 commited on
Commit
f9298b1
1 Parent(s): 9b048cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +30 -6
app.py CHANGED
@@ -18,12 +18,36 @@ def main():
18
  if financial_sentence.strip() != "":
19
  # Predefined keywords
20
  keywords = [
21
- "Finance",
22
- "Fiscal",
23
- "Quarterly results",
24
- "Revenue",
25
- "Profit",
26
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
  # Load the pre-trained Sentence-Transformers model
29
  model = SentenceTransformer("sentence-transformers/all-mpnet-base-v2")
 
18
  if financial_sentence.strip() != "":
19
  # Predefined keywords
20
  keywords = [
21
+ "Finance",
22
+ "Fiscal",
23
+ "Quarterly results",
24
+ "Revenue",
25
+ "Profit",
26
+ "Loss",
27
+ "Net income",
28
+ "Gross margin",
29
+ "Operating expenses",
30
+ "Cash flow",
31
+ "Shareholders",
32
+ "Guidance",
33
+ "Forecast",
34
+ "Market performance",
35
+ "Stock price",
36
+ "Capital expenditures",
37
+ "Acquisitions",
38
+ "Mergers",
39
+ "Debt",
40
+ "Financial ratios",
41
+ "Growth",
42
+ "Outlook",
43
+ "Visibility",
44
+ "Revenue growth",
45
+ "Market trends",
46
+ "Profitability",
47
+ "Efficiency",
48
+ "Projections",
49
+ "Performance"
50
+ ]
51
 
52
  # Load the pre-trained Sentence-Transformers model
53
  model = SentenceTransformer("sentence-transformers/all-mpnet-base-v2")