Update app.py
Browse filesadd 2 judges for 1994
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)
|