Spaces:
Sleeping
Sleeping
Commit
·
15723b9
1
Parent(s):
60ca766
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,5 +10,5 @@ if file_name is not None:
|
|
| 10 |
col1.image(image, use_column_width=True)
|
| 11 |
predictions = pipeline(image)
|
| 12 |
col2.header("Probabilities")
|
| 13 |
-
for p in predictions:
|
| 14 |
col2.subheader(f"{ p['label'] }: { round(p['score'] * 100, 1)}%")
|
|
|
|
| 10 |
col1.image(image, use_column_width=True)
|
| 11 |
predictions = pipeline(image)
|
| 12 |
col2.header("Probabilities")
|
| 13 |
+
for p in predictions:
|
| 14 |
col2.subheader(f"{ p['label'] }: { round(p['score'] * 100, 1)}%")
|