atticusg commited on
Commit
ee05469
·
verified ·
1 Parent(s): 89d229d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -117,8 +117,7 @@ def init_leaderboard_mib(dataframe, track):
117
  )
118
 
119
 
120
- Ah, I see the issue - the function is receiving a DataFrame but the code expects JSON data. Let me fix the function to work with the DataFrame input:
121
- pythonCopydef init_leaderboard_mib_causal(dataframe, track):
122
  """Creates a leaderboard summary for causal intervention results"""
123
  if dataframe is None or dataframe.empty:
124
  raise ValueError("Leaderboard DataFrame is empty or None.")
 
117
  )
118
 
119
 
120
+ def init_leaderboard_mib_causal(dataframe, track):
 
121
  """Creates a leaderboard summary for causal intervention results"""
122
  if dataframe is None or dataframe.empty:
123
  raise ValueError("Leaderboard DataFrame is empty or None.")