Spaces:
Runtime error
Runtime error
Commit
·
bc173f0
1
Parent(s):
721a875
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,8 @@ if file_name is not None:
|
|
26 |
|
27 |
i = 0
|
28 |
for p in predictions:
|
|
|
29 |
bar.progress(i + 1)
|
30 |
time.sleep(0.1)
|
31 |
-
|
|
|
|
26 |
|
27 |
i = 0
|
28 |
for p in predictions:
|
29 |
+
col2.subheader(f"{ p['label'] }: { round(p['score'] * 100, 1)}%")
|
30 |
bar.progress(i + 1)
|
31 |
time.sleep(0.1)
|
32 |
+
|
33 |
+
bar.progress(0)
|