Spaces:
Runtime error
Runtime error
Update single.py
Browse files
single.py
CHANGED
@@ -72,7 +72,7 @@ def body():
|
|
72 |
|
73 |
st.markdown("### Prediction")
|
74 |
scores = bench.score(text)
|
75 |
-
scores_str = ", ".join([f"k: {v:.2f}" for k, v in scores.items()])
|
76 |
st.text(scores_str)
|
77 |
|
78 |
with st.spinner("Computing Explanations.."):
|
|
|
72 |
|
73 |
st.markdown("### Prediction")
|
74 |
scores = bench.score(text)
|
75 |
+
scores_str = ", ".join([f"{k}: {v:.2f}" for k, v in scores.items()])
|
76 |
st.text(scores_str)
|
77 |
|
78 |
with st.spinner("Computing Explanations.."):
|