Spaces:
Runtime error
Runtime error
nurindahpratiwi
commited on
Commit
•
6307353
1
Parent(s):
eb59d5e
main
Browse files
app.py
CHANGED
@@ -21,6 +21,6 @@ if file_name is not None:
|
|
21 |
col1.image(image, use_column_width=True) # Menampilkan image di kolom 1
|
22 |
predictions = pipeline(image) # melakukan prediksi dari input image
|
23 |
|
24 |
-
col2.header("
|
25 |
-
for p in predictions:
|
26 |
-
col2.subheader(f"{p['label']}: {round(p['score']*100,
|
|
|
21 |
col1.image(image, use_column_width=True) # Menampilkan image di kolom 1
|
22 |
predictions = pipeline(image) # melakukan prediksi dari input image
|
23 |
|
24 |
+
col2.header("Accuracy Score") #Menampilkan judul di kolom kanan
|
25 |
+
for p in predictions:
|
26 |
+
col2.subheader(f"{p['label']}: {round(p['score']*100,1)}%") #menampilkan skor akurasi dalam satuan persen
|