dtcxzyw commited on
Commit
16b294e
Β·
unverified Β·
1 Parent(s): 1a893a5
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -208,12 +208,11 @@ with demo:
208
  y_lim=(-model_cnt - 1, 4),
209
  tooltip=["bug_id", "method_name", "time", "bug_type"],
210
  )
211
- with gr.Row():
212
- gr.Dataframe(fixed_by_cat_df)
213
- with gr.Row():
214
- gr.Dataframe(fixed_by_comp_df)
215
- with gr.Row():
216
- gr.Dataframe(unique_bugs_df)
217
  fixed_bug_title_id_pairs = [(bug_id_to_title[bug_id], bug_id) for bug_id in sorted(fixed_bug_ids)]
218
  with gr.Row():
219
  inspect_issue = gr.Dropdown(fixed_bug_title_id_pairs, label="Inspct Issue", interactive=True)
@@ -239,7 +238,7 @@ with demo:
239
  outputs=[method_patch],
240
  )
241
 
242
- with gr.TabItem("πŸš€ Submission", elem_id="llm-benchmark-tab-table", id=1):
243
  gr.Markdown(EVALUATION_QUEUE_TEXT, elem_classes="markdown-text")
244
 
245
  with gr.Row():
 
208
  y_lim=(-model_cnt - 1, 4),
209
  tooltip=["bug_id", "method_name", "time", "bug_type"],
210
  )
211
+ gr.Dataframe(fixed_by_cat_df)
212
+ gr.Dataframe(fixed_by_comp_df)
213
+ gr.Dataframe(unique_bugs_df)
214
+
215
+ with gr.TabItem("πŸ” Inspect", elem_id="llm-benchmark-tab-table1", id=1):
 
216
  fixed_bug_title_id_pairs = [(bug_id_to_title[bug_id], bug_id) for bug_id in sorted(fixed_bug_ids)]
217
  with gr.Row():
218
  inspect_issue = gr.Dropdown(fixed_bug_title_id_pairs, label="Inspct Issue", interactive=True)
 
238
  outputs=[method_patch],
239
  )
240
 
241
+ with gr.TabItem("πŸš€ Submission", elem_id="llm-benchmark-tab-table2", id=2):
242
  gr.Markdown(EVALUATION_QUEUE_TEXT, elem_classes="markdown-text")
243
 
244
  with gr.Row():