Mgolo commited on
Commit
a7ed79f
·
verified ·
1 Parent(s): a95150e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(\'"\', \'""\')}","{model_output.replace(\'"\', \'""\')}","{notation if notation else \'\'}","{correct_answer if correct_answer else \'\'}"\n'
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()