Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -244,9 +244,17 @@ def make_sim_bar(model_name: str) -> go.Figure:
|
|
| 244 |
height=320,
|
| 245 |
showlegend=False,
|
| 246 |
)
|
| 247 |
-
fig.
|
| 248 |
-
|
| 249 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 250 |
return fig
|
| 251 |
|
| 252 |
|
|
|
|
| 244 |
height=320,
|
| 245 |
showlegend=False,
|
| 246 |
)
|
| 247 |
+
fig.add_trace(go.Scatter(
|
| 248 |
+
x=labels,
|
| 249 |
+
y=[clean_sim] * len(labels),
|
| 250 |
+
mode="lines+text",
|
| 251 |
+
line=dict(color="#1565c0", dash="dot", width=1.5),
|
| 252 |
+
text=[""] * (len(labels) - 1) + ["Clean baseline"],
|
| 253 |
+
textposition="top right",
|
| 254 |
+
textfont=dict(size=10, color="#1565c0"),
|
| 255 |
+
hoverinfo="skip",
|
| 256 |
+
showlegend=False,
|
| 257 |
+
))
|
| 258 |
return fig
|
| 259 |
|
| 260 |
|