Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def respond(
|
|
50 |
yield response, history + [(message, response)]
|
51 |
|
52 |
def generate_case_outcome(prosecutor_response, defense_response):
|
53 |
-
prompt = "Provide details on who won the case and why. Provide reasons for your decision and provide a link to the source of the case."
|
54 |
evaluation = ""
|
55 |
for message in client.chat_completion(
|
56 |
[{"role": "system", "content": "You are a legal expert evaluating the details of the case presented by the prosecution and the defense."},
|
|
|
50 |
yield response, history + [(message, response)]
|
51 |
|
52 |
def generate_case_outcome(prosecutor_response, defense_response):
|
53 |
+
prompt = "Provide details on who won the case and why. Provide reasons for your decision and provide a link to the source of the case."
|
54 |
evaluation = ""
|
55 |
for message in client.chat_completion(
|
56 |
[{"role": "system", "content": "You are a legal expert evaluating the details of the case presented by the prosecution and the defense."},
|