lcipolina commited on
Commit
613e785
·
verified ·
1 Parent(s): 39e7b94

Changed the axis of the plots

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -183,8 +183,8 @@ with gr.Blocks() as interface:
183
  with gr.Row():
184
  gr.BarPlot(
185
  value=metrics_df,
186
- x="agent_name",
187
- y="win vs_random (%)",
188
  title="Win Rate vs Random Bot",
189
  x_label="LLM Model",
190
  y_label="Win Rate (%)"
@@ -193,8 +193,8 @@ with gr.Blocks() as interface:
193
  with gr.Row():
194
  gr.BarPlot(
195
  value=metrics_df,
196
- x="agent_name",
197
- y="avg_generation_time (sec)",
198
  title="Average Generation Time",
199
  x_label="LLM Model",
200
  y_label="Time (sec)"
@@ -213,8 +213,8 @@ with gr.Blocks() as interface:
213
  with gr.Row():
214
  gr.BarPlot(
215
  value=illegal_df,
216
- x="agent_name",
217
- y="illegal_moves",
218
  title="Illegal Moves by Model",
219
  x_label="LLM Model",
220
  y_label="# of Illegal Moves"
 
183
  with gr.Row():
184
  gr.BarPlot(
185
  value=metrics_df,
186
+ x="win vs_random (%)",
187
+ y="agent_name",
188
  title="Win Rate vs Random Bot",
189
  x_label="LLM Model",
190
  y_label="Win Rate (%)"
 
193
  with gr.Row():
194
  gr.BarPlot(
195
  value=metrics_df,
196
+ x="avg_generation_time (sec)",
197
+ y="agent_name",
198
  title="Average Generation Time",
199
  x_label="LLM Model",
200
  y_label="Time (sec)"
 
213
  with gr.Row():
214
  gr.BarPlot(
215
  value=illegal_df,
216
+ x="illegal_moves",
217
+ y="agent_name",
218
  title="Illegal Moves by Model",
219
  x_label="LLM Model",
220
  y_label="# of Illegal Moves"