Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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": "
|
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,
|