Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -71,8 +71,8 @@ def get_summary(text):
|
|
71 |
Rationale (reasons for the holding).
|
72 |
Decision (what did the court decide, e.g. affirmed, overruled).
|
73 |
Other opinions (if there are any dissenting or concurring opinions, summarize majority opinion, dissenting opinion and concurring opinion).
|
74 |
-
Cases cited (which cases the court cited and how it treated them)'''},
|
75 |
-
{"role": "user", "content": f"
|
76 |
]
|
77 |
)
|
78 |
|
@@ -99,4 +99,4 @@ if search_query:
|
|
99 |
st.write(summary)
|
100 |
|
101 |
else:
|
102 |
-
st.write("No results found.")
|
|
|
71 |
Rationale (reasons for the holding).
|
72 |
Decision (what did the court decide, e.g. affirmed, overruled).
|
73 |
Other opinions (if there are any dissenting or concurring opinions, summarize majority opinion, dissenting opinion and concurring opinion).
|
74 |
+
Cases cited (which cases the court cited and how it treated them).'''},
|
75 |
+
{"role": "user", "content": f"Please summarize this case according to the instructions: {text}. "}
|
76 |
]
|
77 |
)
|
78 |
|
|
|
99 |
st.write(summary)
|
100 |
|
101 |
else:
|
102 |
+
st.write("No results found.")
|