Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ if submit_button:
|
|
24 |
'x': {'field': 'scores', 'type': 'quantitative'},
|
25 |
'y': {'field': 'labels', 'type': 'nominal'},
|
26 |
},
|
27 |
-
})
|
28 |
else:
|
29 |
out = f"Top predicted labels are {', '.join(p for p in pred['labels'][0:2])}"
|
30 |
|
|
|
24 |
'x': {'field': 'scores', 'type': 'quantitative'},
|
25 |
'y': {'field': 'labels', 'type': 'nominal'},
|
26 |
},
|
27 |
+
}, use_container_width=True)
|
28 |
else:
|
29 |
out = f"Top predicted labels are {', '.join(p for p in pred['labels'][0:2])}"
|
30 |
|