Aivis commited on
Commit
e6df325
·
verified ·
1 Parent(s): b1e1362

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def process_csv(file, calculate_openai, openai_model, calculate_anthropic, anthr
68
  try:
69
  total_tokens_anthropic = client.count_tokens(df.to_csv(index=False))
70
  except Exception as e:
71
- return f"Error counting tokens with Anthropic model: {e}"
72
 
73
  # Iterate over columns
74
  for col in df.columns:
 
68
  try:
69
  total_tokens_anthropic = client.count_tokens(df.to_csv(index=False))
70
  except Exception as e:
71
+ return f"Error counting tokens with Anthropic model ({anthropic.__version__}): {e}"
72
 
73
  # Iterate over columns
74
  for col in df.columns: