Spaces:
Sleeping
Sleeping
Changed the axis of the plots
Browse files
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="
|
187 |
-
y="
|
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="
|
197 |
-
y="
|
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="
|
217 |
-
y="
|
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"
|