Spaces:
Runtime error
Runtime error
fix: remove print
Browse files
app.py
CHANGED
|
@@ -144,7 +144,6 @@ def model_call(model_output, user_input, gold_answer, retrieved_context, pass_cr
|
|
| 144 |
return "", "", ""
|
| 145 |
combined_user_input = format_string(retrieved_context, user_input, model_output, gold_answer)
|
| 146 |
NEW_PROMPT_FORMAT = PROMPT.format(user_input=combined_user_input, pass_criteria=pass_criteria, rubric=rubric)
|
| 147 |
-
print("NEW_PROMPT_FORMAT", NEW_PROMPT_FORMAT)
|
| 148 |
response = client.api.v1.chat.completions(
|
| 149 |
model="glider",
|
| 150 |
messages=[{"role": "user", "content": NEW_PROMPT_FORMAT}],
|
|
|
|
| 144 |
return "", "", ""
|
| 145 |
combined_user_input = format_string(retrieved_context, user_input, model_output, gold_answer)
|
| 146 |
NEW_PROMPT_FORMAT = PROMPT.format(user_input=combined_user_input, pass_criteria=pass_criteria, rubric=rubric)
|
|
|
|
| 147 |
response = client.api.v1.chat.completions(
|
| 148 |
model="glider",
|
| 149 |
messages=[{"role": "user", "content": NEW_PROMPT_FORMAT}],
|