michaelmc1618 commited on
Commit
fb38616
·
verified ·
1 Parent(s): a6b2b74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def generate_case_outcome(prosecutor_response, defense_response):
57
  prompt = f"Prosecutor's Argument: {prosecutor_response}\nDefense Attorney's Argument: {defense_response}\n\nEvaluate both arguments, point out the strengths and weaknesses, and determine who won the case. Provide reasons for your decision."
58
  evaluation = ""
59
  for message in client.chat_completion(
60
- [{"role": "system", "content": "You are a legal expert evaluating the arguments presented by the prosecution and the defense."},
61
  {"role": "user", "content": prompt}],
62
  max_tokens=512,
63
  stream=True,
 
57
  prompt = f"Prosecutor's Argument: {prosecutor_response}\nDefense Attorney's Argument: {defense_response}\n\nEvaluate both arguments, point out the strengths and weaknesses, and determine who won the case. Provide reasons for your decision."
58
  evaluation = ""
59
  for message in client.chat_completion(
60
+ [{"role": "system", "content": "Give the real case details from a verified source. Detail the outcome and why."},
61
  {"role": "user", "content": prompt}],
62
  max_tokens=512,
63
  stream=True,