Spaces:
Running
Running
fix figure title
Browse files
app.py
CHANGED
@@ -127,7 +127,7 @@ class GenerationManager:
|
|
127 |
# Use bar chart instead of box plot
|
128 |
fig.add_trace(
|
129 |
go.Bar(
|
130 |
-
y=[avg_duration], #
|
131 |
x=[BACKENDS[backend]["name"]], # Backend name
|
132 |
name=BACKENDS[backend]["name"],
|
133 |
marker_color=BACKENDS[backend]["color"],
|
@@ -148,7 +148,7 @@ class GenerationManager:
|
|
148 |
fig.update_yaxes(range=[0, y_max])
|
149 |
|
150 |
fig.update_layout(
|
151 |
-
title="Average Generation Time",
|
152 |
yaxis_title="Seconds",
|
153 |
xaxis_title="",
|
154 |
showlegend=False,
|
|
|
127 |
# Use bar chart instead of box plot
|
128 |
fig.add_trace(
|
129 |
go.Bar(
|
130 |
+
y=[avg_duration], #
|
131 |
x=[BACKENDS[backend]["name"]], # Backend name
|
132 |
name=BACKENDS[backend]["name"],
|
133 |
marker_color=BACKENDS[backend]["color"],
|
|
|
148 |
fig.update_yaxes(range=[0, y_max])
|
149 |
|
150 |
fig.update_layout(
|
151 |
+
title="Average Generation Time (Including Network Latency)",
|
152 |
yaxis_title="Seconds",
|
153 |
xaxis_title="",
|
154 |
showlegend=False,
|