legaltextai commited on
Commit
70a48c0
·
verified ·
1 Parent(s): 4bc9aea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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"Summarize this case: {text}!"}
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.")