Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -499,7 +499,7 @@ class EvaluationService:
|
|
| 499 |
"""
|
| 500 |
try:
|
| 501 |
# Prepare the new evaluation data
|
| 502 |
-
new_row = f'"{source_lang}","{target_lang}","{user_input.replace(\
|
| 503 |
|
| 504 |
# Get existing content
|
| 505 |
existing_content = EvaluationService.read_existing_csv_content()
|
|
|
|
| 499 |
"""
|
| 500 |
try:
|
| 501 |
# Prepare the new evaluation data
|
| 502 |
+
new_row = f'"{source_lang}","{target_lang}","{user_input.replace("\"", "\"\"")}","{model_output.replace("\"", "\"\"")}","{notation or ""}","{correct_answer or ""}"\n'
|
| 503 |
|
| 504 |
# Get existing content
|
| 505 |
existing_content = EvaluationService.read_existing_csv_content()
|