rohansampath commited on
Commit
61b4a88
·
verified ·
1 Parent(s): 921f3a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -190,10 +190,9 @@ with gr.Blocks(css=CSS) as demo:
190
  model_components['model2_regex'],
191
  model_components['model2_flash_attn']
192
  ],
193
- outputs=results_components['output'] # Change: Only pass 1 output to match the dictionary from run_mmlu_evaluation
194
- ).then(
195
  fn=handle_evaluation_results,
196
- inputs=[results_components['output']], # Change: Pass the dictionary to handle_evaluation_results
197
  outputs=[
198
  results_components['output'],
199
  results_components['table'],
 
190
  model_components['model2_regex'],
191
  model_components['model2_flash_attn']
192
  ],
193
+ outputs=[results_components['tmp_data']]
 
194
  fn=handle_evaluation_results,
195
+ inputs=[results_components['tmp_data']], # Change: Pass the dictionary to handle_evaluation_results
196
  outputs=[
197
  results_components['output'],
198
  results_components['table'],