mshuaibi commited on
Commit
b090566
·
1 Parent(s): aa9b736

better output

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -388,8 +388,11 @@ def add_new_eval(
388
  )
389
  private_df["Model"] = model
390
  private_df.columns = [col.replace("\n", " ") for col in private_df.columns]
391
- private_df.set_index("Model")
392
- yield f"✅ Private evaluation complete. Please consider submitting publicly once you are comfortable with the results.\n{private_df}"
 
 
 
393
 
394
  # Save contact information
395
  contact_info = {
 
388
  )
389
  private_df["Model"] = model
390
  private_df.columns = [col.replace("\n", " ") for col in private_df.columns]
391
+ output_str = ""
392
+ for idx, row in private_df.iterrows():
393
+ for col in private_df.columns:
394
+ output_str += f"{col}: {row[col]}\n"
395
+ yield f"✅ Private evaluation complete. Please consider submitting publicly once you are comfortable with the results.\n{output_str}"
396
 
397
  # Save contact information
398
  contact_info = {