Spaces:
Runtime error
Runtime error
Poe Dator
commited on
Commit
•
9c54204
1
Parent(s):
ad37abf
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def infer_and_display_result(txt):
|
|
65 |
|
66 |
for lbl, score in res:
|
67 |
if score >=1:
|
68 |
-
st.write(f"[
|
69 |
|
70 |
res_plot = [] # storage for plot data
|
71 |
total=0
|
|
|
65 |
|
66 |
for lbl, score in res:
|
67 |
if score >=1:
|
68 |
+
st.write(f"[ {lbl:<7}] {labels_decoder[lbl]:<35} {score:.1f}%")
|
69 |
|
70 |
res_plot = [] # storage for plot data
|
71 |
total=0
|