Spaces:
Running
Running
Commit
ยท
8985298
1
Parent(s):
bc92145
extend plot and put legend to the right
Browse files
app.py
CHANGED
|
@@ -84,15 +84,15 @@ def get_benchmark_plot(bench_df):
|
|
| 84 |
xaxis_title="Per 1000 Tokens Latency (s)",
|
| 85 |
yaxis_title="Average Open LLM Score",
|
| 86 |
legend_title="Model Type and Backend",
|
| 87 |
-
width=
|
| 88 |
height=600,
|
| 89 |
-
legend=dict(
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
)
|
| 96 |
)
|
| 97 |
|
| 98 |
fig.update_traces(
|
|
|
|
| 84 |
xaxis_title="Per 1000 Tokens Latency (s)",
|
| 85 |
yaxis_title="Average Open LLM Score",
|
| 86 |
legend_title="Model Type and Backend",
|
| 87 |
+
width=1200,
|
| 88 |
height=600,
|
| 89 |
+
# legend=dict(
|
| 90 |
+
# orientation="h",
|
| 91 |
+
# yanchor="bottom",
|
| 92 |
+
# y=-0.35,
|
| 93 |
+
# xanchor="center",
|
| 94 |
+
# x=0.5
|
| 95 |
+
# )
|
| 96 |
)
|
| 97 |
|
| 98 |
fig.update_traces(
|