Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,8 +23,8 @@ if submit_button:
|
|
| 23 |
'encoding': {
|
| 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 |
|
|
|
|
| 23 |
'encoding': {
|
| 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 |
|