raminass commited on
Commit
f361062
1 Parent(s): 4f6de98

Update app.py

Browse files

add 2 judges for 1994

Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -22,6 +22,9 @@ def greet(opinion, year):
22
  .tolist()
23
  )
24
 
 
 
 
25
  chunks = chunk_data(remove_citations(opinion))["text"].to_list()
26
  result = average_text(chunks, pipe, judges_l)
27
  k = len(chunks)
 
22
  .tolist()
23
  )
24
 
25
+ if year == 1994:
26
+ judges_l.extend(["Justice Breyer", "Justice Kennedy"])
27
+
28
  chunks = chunk_data(remove_citations(opinion))["text"].to_list()
29
  result = average_text(chunks, pipe, judges_l)
30
  k = len(chunks)