Spaces:
Runtime error
Runtime error
nurindahpratiwi
commited on
Commit
•
3f0b4bd
1
Parent(s):
6307353
first commit
Browse files
app.py
CHANGED
@@ -21,6 +21,4 @@ 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,1)}%") #menampilkan skor akurasi dalam satuan persen
|
|
|
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("Confidence Score") #Menam
|
|
|
|