Spaces:
Runtime error
Runtime error
text size
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ if st.button('apply tag'):
|
|
48 |
|
49 |
xmin, ymin, xmax, ymax = box.values()
|
50 |
draw.rectangle((xmin, ymin, xmax, ymax), outline="red", width=3)
|
51 |
-
draw.text((xmin, ymin), f"{label}: {round(score,
|
52 |
|
53 |
st.image(image)
|
54 |
st.write(predictions)
|
|
|
48 |
|
49 |
xmin, ymin, xmax, ymax = box.values()
|
50 |
draw.rectangle((xmin, ymin, xmax, ymax), outline="red", width=3)
|
51 |
+
draw.text((xmin, ymin), f"{label}: {round(score,5)}", fill="white")
|
52 |
|
53 |
st.image(image)
|
54 |
st.write(predictions)
|